{
 "id": "CVE-2025-9959",
 "description": "Incomplete validation of dunder attributes allows an attacker to escape from the Local Python execution environment sandbox, enforced by smolagents. The attack requires a Prompt Injection in order to trick the agent to create malicious code.",
 "published": "2025-09-03",
 "last_modified": "2026-09-26",
 "vuln_status": "Deferred",
 "cna": "reefs@jfrog.com",
 "cvss": {
  "version": "3.1",
  "score": 7.6,
  "severity": "HIGH",
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L",
  "source": "reefs@jfrog.com"
 },
 "cwe": [
  "CWE-94"
 ],
 "products": [
  {
   "vendor": "Hugging Face",
   "product": "smolagents",
   "versions_affected": null,
   "fixed_in": null,
   "product_id": null
  }
 ],
 "category": "framework",
 "surface": [
  "prompt_injection",
  "code_execution"
 ],
 "kev": null,
 "fix": {
  "status": "unknown",
  "version": null,
  "url": null
 },
 "references": [
  {
   "url": "https://github.com/huggingface/smolagents/pull/1551",
   "source": "reefs@jfrog.com",
   "tags": []
  },
  {
   "url": "https://research.jfrog.com/vulnerabilities/smolagents-local-python-sandbox-escape-jfsa-2025-001434277/",
   "source": "reefs@jfrog.com",
   "tags": []
  }
 ],
 "related_agents": [
  "hugging-face-hugging-face-smolagents"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:name",
   "B:vocabulary"
  ],
  "terms": [
   "smolagents:smolagents",
   "prompt injection"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}