smolagents
5 advisories in the AI Sec Watch database name smolagents (PyPI). smolagents (PyPI) has declared an LLM component as a dependency since 2024-12-27. The most recent advisory that names smolagents and states a fix gives 1.22.0.
🤗 smolagents: a barebones library for agents. Agents write python code to call tools or orchestrate other agents.
The first release to declare it was version 0.1.0.
Advisories
Advisories that name smolagents as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.
Time to fix: a median of −44 days from disclosure to the release of the fixed version, over 2 advisories with a dated fix (fastest −61, slowest −27 days). A negative count means the fix was released before the advisory's disclosure date.
| Advisory | Severity | Affected | Fixed in | Fix released | Published |
|---|---|---|---|---|---|
| CVE-2026-4963huggingface smolagents code injection in local Python executor evaluation | Medium | <= 1.25.0.dev0 | 2026-03-27 | ||
| CVE-2026-2654huggingface smolagents LocalPythonExecutor server-side request forgery | Medium | <= 1.24.0 | 2026-02-18 | ||
| CVE-2025-14931GHSA-q9r5-6hrr-9ph7: Hugging Face smolagents: Unsafe deserialization in Remote Python Executor leads to RCE | Critical | <= 1.23.0 | 2025-12-23 | ||
| CVE-2025-11844Hugging Face Smolagents XPath injection in search_item_ctrl_f function | Medium | < 1.22.0 | 1.22.0 | 2025-09-25 (−27 d) | 2025-10-22 |
| CVE-2025-5120huggingface/smolagents sandbox escape allowing remote code execution | Critical | < 1.17.0 | 1.17.0 | 2025-05-27 (−61 d) | 2025-07-27 |
Dependencies of the latest release
As declared in PyPI metadata for version 1.26.0. Optional extras are listed with their extra name.
- accelerate[transformers]Hugging Face Hub / Transformers
- arize-phoenix[telemetry]Anthropic SDK, Google Gemini SDK +2
- blaxel[blaxel]CrewAI, Google Agent Development Kit +7
- ddgs[toolkit]Model Context Protocol SDK
- gradio[gradio]Hugging Face Hub / Transformers, Model Context Protocol SDK
- huggingface-hubHugging Face Hub / Transformers
- litellm[litellm]LiteLLM
- mcp[mcp]Model Context Protocol SDK
- mcpadapt[mcp]CrewAI, Google Gemini SDK +5
- mlx-lm[mlx-lm]Hugging Face Hub / Transformers
- openai[openai]OpenAI SDK
- openinference-instrumentation-smolagents[telemetry]smolagents
- transformers[transformers]Hugging Face Hub / Transformers
- vllm[vllm]Anthropic SDK, Hugging Face Hub / Transformers +3
- boto3[bedrock]
- docker[docker]
- e2b-code-interpreter[e2b]
- helium[vision]
- ipython[test]
- jinja2
- markdownify[toolkit]
- mlx[test]
- modal[modal]
- numpy[torch]
- opentelemetry-exporter-otlp[telemetry]
- opentelemetry-sdk[telemetry]
- pandas[test]
- pillow
- pytest[test]
- pytest-datadir[test]
- pytest-timeout[test]
- python-dotenv
- rank-bm25[test]
- requests
- rich
- ruff[quality]
- selenium[vision]
- soundfile[audio]
- sqlalchemy[dev]
- torch[torch]
- torchvision[torch]
- websocket-client[blaxel]
- wikipedia-api[test]
Tracked packages that depend on it
Among the packages in the registry; not every dependent on PyPI.