{"answers":{"affected":"3 open source packages ship an affected version, including smolagents. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4963 exists.","fix":"No fix has been published for CVE-2026-4963 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-4963 is a medium-severity code injection vulnerability in huggingface smolagents, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-4963 and fix it if it is affected.\n\nWhat it is: CVE-2026-4963 is a medium-severity code injection vulnerability in huggingface smolagents, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4963 exists.\n\nAffected packages and fixed versions:\n- smolagents (PyPI): affected all versions up to 1.25.0.dev0; no fix listed\n- smolagents (PyPI): affected all versions up to 1.25.0.dev0; no fix listed\n- smolagents (PyPI): affected all versions up to 1.25.0.dev0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4963/ (Markdown: https://insights.sbomify.com/CVE-2026-4963/index.md)","id":"CVE-2026-4963","markdown":"https://insights.sbomify.com/CVE-2026-4963/index.md","name":"CVE-2026-4963","record":{"aliases":["GHSA-54fq-v6x8-244g","PYSEC-2026-3066"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python AI agent library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via incomplete fixes in the local Python executor of the smolagents library.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"smolagents","vendor":"huggingface"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection","id":"CVE-2026-4963","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":7,"next":{"headline":"letta-ai letta File URL message_helper.py _convert_message_create_to_message server-side request forgery","id":"CVE-2026-4964"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.25.0.dev0"],"package":"smolagents","purl":null,"source":"GHSA-54fq-v6x8-244g"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.25.0.dev0"],"package":"smolagents","purl":"pkg:pypi/smolagents","source":"GHSA-54fq-v6x8-244g"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.25.0.dev0"],"package":"smolagents","purl":"pkg:pypi/smolagents","source":"PYSEC-2026-3066"}],"prev":{"headline":"UltraVNC Service version.dll uncontrolled search path","id":"CVE-2026-4962"},"products":["smolagents"],"published":"2026-03-27","related":[{"cvss_score":7.6,"headline":"Sandbox Escape Vulnerability in huggingface/smolagents","id":"CVE-2025-5120","kev_date_added":null,"published":"2025-07-27"},{"cvss_score":5.4,"headline":"XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function","id":"CVE-2025-11844","kev_date_added":null,"published":"2025-10-22"},{"cvss_score":5.3,"headline":"huggingface smolagents LocalPythonExecutor requests.post server-side request forgery","id":"CVE-2026-2654","kev_date_added":null,"published":"2026-02-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-31","vendors":["huggingface"]},"summary":"Remote attackers can execute arbitrary code via incomplete fixes in the local Python executor of the smolagents library.","url":"https://insights.sbomify.com/CVE-2026-4963/"}