# Hugging Face Smolagents has an Injection issue

Advisory record · `GHSA-54fq-v6x8-244g`

- **Identifiers:** `GHSA-54fq-v6x8-244g` · `CVE-2026-4963` · `PYSEC-2026-3066`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html) · [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 27 Mar 2026
- **Updated:** 13 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Mar 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `smolagents` (PyPI): affected `<=1.25.0.dev0`; no fixed version yet

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The smolagents package, versions up to and including 1.25.0.dev0, is vulnerable to code injection through its local Python executor. A remote attacker can trigger the flaw, and a public exploit is reported to exist. No fixed version is listed, and the source gives few details beyond the affected functions and an incomplete fix for CVE-2025-9959.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 4.0: `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`, from CNA (VulDB)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0060, the 49th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:01 UTC: First seen by agentprime
- 31 Oct 2026, 15:01 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-54fq-v6x8-244g)

## Sources

- [GitHub Advisory Database: GHSA-54fq-v6x8-244g](https://github.com/advisories/GHSA-54fq-v6x8-244g)
- [OSV: GHSA-54fq-v6x8-244g](https://osv.dev/vulnerability/GHSA-54fq-v6x8-244g)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4963>
- <https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be>
- <https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b>
- <https://github.com/huggingface/smolagents>
- <https://vuldb.com/?ctiid.353840>
- <https://vuldb.com/?id.353840>
- <https://vuldb.com/?submit.777623>
- <https://vuldb.com/?submit.777643>
- <https://vuldb.com/?submit.777644>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-54fq-v6x8-244g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-54fq-v6x8-244g/>. Everything for agents: <https://agentprime.io/llms.txt>.
