{"id":"CVE-2026-4963","aliases":["EUVD-2026-16726","GHSA-54fq-v6x8-244g","PYSEC-2026-3066"],"status":"published","title":"huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00586,"percentile":0.48443,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74","CWE-94"],"published":"2026-03-27T17:05:20Z","modified":"2026-10-26T21:10:00Z","affected":[{"source":"ghsa","ecosystem":"PyPI","package":"smolagents","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.25.0.dev0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"smolagents","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.25.0.dev0"}]}],"versions":["0.1.0","0.1.2","0.1.3","1.0.0","1.1.0","1.10.0","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.16.0","1.16.1","1.17.0","1.18.0","1.19.0","1.2.0","1.2.1","1.2.2","1.20.0","1.21.0","1.21.1","1.21.2","1.21.3","1.22.0","1.23.0","1.24.0","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.7.0","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2"]},{"source":"osv","ecosystem":"PyPI","package":"smolagents","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.25.0.dev0"}]}],"versions":["0.1.0","0.1.2","0.1.3","1.0.0","1.1.0","1.10.0","1.11.0","1.12.0","1.13.0","1.14.0","1.15.0","1.16.0","1.16.1","1.17.0","1.18.0","1.19.0","1.2.0","1.2.1","1.2.2","1.20.0","1.21.0","1.21.1","1.21.2","1.21.3","1.22.0","1.23.0","1.24.0","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.7.0","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2"]}],"products":[{"vendor":"huggingface","product":"smolagents"}],"references":[{"url":"https://vuldb.com/?id.353840","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","web"]},{"url":"https://vuldb.com/?ctiid.353840","tags":["signature","permissions-required","Permissions Required","VDB Entry","web"]},{"url":"https://vuldb.com/?submit.777623","tags":["third-party-advisory","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://vuldb.com/?submit.777643","tags":["third-party-advisory","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://vuldb.com/?submit.777644","tags":["third-party-advisory","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b","tags":["related","Exploit","Third Party Advisory","web"]},{"url":"https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be","tags":["exploit","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4963","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-54fq-v6x8-244g","tags":["advisory"]},{"url":"https://github.com/huggingface/smolagents","tags":["package"]},{"url":"https://pypi.org/project/smolagents","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-4963","title":"huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-03-27T17:05:20.096Z","modified":"2026-03-31T13:32:41.488Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","level":"medium","assessor":"cna"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","assessor":"cna"}],"cwes":["CWE-94","CWE-74"],"updated_at":"2026-11-02T14:19:58.944663Z"}],"euvd":[{"id":"EUVD-2026-16726","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-03-27T17:05:20Z","modified":"2026-03-31T13:32:41Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T19:25:25.377294Z"}],"ghsa":[{"id":"GHSA-54fq-v6x8-244g","title":"Hugging Face Smolagents has an Injection issue","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-03-27T18:31:28Z","modified":"2026-05-06T22:06:37Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:40:02.883746Z"}],"nvd":[{"id":"CVE-2026-4963","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-03-27T17:16:31.537Z","modified":"2026-10-26T21:10:00.17Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary"}],"cwes":["CWE-74","CWE-94"],"updated_at":"2026-11-02T14:12:11.678711Z"}],"osv":[{"id":"GHSA-54fq-v6x8-244g","title":"Hugging Face Smolagents has an Injection issue","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-03-27T18:31:28Z","modified":"2026-07-13T16:43:09.31501637Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:46:37.864461Z"},{"id":"PYSEC-2026-3066","title":"Hugging Face Smolagents has an Injection issue","description":"A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation causes code injection. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","status":"published","published":"2026-07-13T14:36:45.24815Z","modified":"2026-07-13T16:32:49.309124635Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"updated_at":"2026-11-02T15:52:56.429374Z"}]}}
