Search

Find a vulnerability

Search criteria

    12 vulnerabilities found for smolagents by huggingface

    FKIE_CVE-2026-4963

    Vulnerability from fkie_nvd - Published: 2026-03-27 17:16 - Updated: 2026-10-26 21:10
    Summary
    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.
    References
    cna@vuldb.comhttps://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858beExploit, Third Party Advisory
    cna@vuldb.comhttps://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9bExploit, Third Party Advisory
    cna@vuldb.comhttps://vuldb.com/?ctiid.353840Permissions Required, VDB Entry
    cna@vuldb.comhttps://vuldb.com/?id.353840Third Party Advisory, VDB Entry
    cna@vuldb.comhttps://vuldb.com/?submit.777623Exploit, Third Party Advisory, VDB Entry
    cna@vuldb.comhttps://vuldb.com/?submit.777643Exploit, Third Party Advisory, VDB Entry
    cna@vuldb.comhttps://vuldb.com/?submit.777644Exploit, Third Party Advisory, VDB Entry
    Impacted products
    Vendor Product Version
    huggingface smolagents 1.25.0

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Incomplete Fix CVE-2025-9959"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.25.0.dev0"
                }
              ]
            }
          ],
          "source": "cna@vuldb.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:huggingface:smolagents:1.25.0:dev0:*:*:*:*:*:*",
                  "matchCriteriaId": "61DF7A88-1F37-4EE0-925C-B1D7036DDFEF",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        },
        {
          "lang": "es",
          "value": "Se ha identificado una debilidad en huggingface smolagents 1.25.0.dev0. Esto afecta a la funci\u00f3n evaluate_augassign/evaluate_call/evaluate_with del archivo src/smolagents/local_python_executor.py del componente Incomplete Fix CVE-2025-9959. Esta manipulaci\u00f3n provoca inyecci\u00f3n de c\u00f3digo. Es posible iniciar el ataque remotamente. El exploit se ha hecho p\u00fablico y podr\u00eda ser utilizado para ataques. Se contact\u00f3 al proveedor con antelaci\u00f3n sobre esta divulgaci\u00f3n, pero no respondi\u00f3 de ninguna manera."
        }
      ],
      "id": "CVE-2026-4963",
      "lastModified": "2026-10-26T21:10:00.170",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "HIGH",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 7.5,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 6.4,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "cna@vuldb.com",
            "type": "Secondary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "LOW",
              "baseScore": 6.3,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 3.4,
            "source": "cna@vuldb.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 10.0,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 6.0,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 2.1,
              "baseSeverity": "LOW",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "PROOF_OF_CONCEPT",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "PASSIVE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "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",
              "version": "4.0",
              "vulnAvailabilityImpact": "LOW",
              "vulnConfidentialityImpact": "LOW",
              "vulnIntegrityImpact": "LOW",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "cna@vuldb.com",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-4963",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-03-31T13:32:07.450819Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-03-27T17:16:31.537",
      "references": [
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Permissions Required",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?ctiid.353840"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?id.353840"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?submit.777623"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?submit.777643"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?submit.777644"
        }
      ],
      "sourceIdentifier": "cna@vuldb.com",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-74"
            },
            {
              "lang": "en",
              "value": "CWE-94"
            }
          ],
          "source": "cna@vuldb.com",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2025-11844

    Vulnerability from fkie_nvd - Published: 2025-10-22 14:15 - Updated: 2026-10-08 11:10
    Summary
    Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0.
    Impacted products
    Vendor Product Version
    huggingface smolagents *

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.22.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "source": "security@huntr.dev"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4FBDA817-4B1A-4C1C-B28E-039793EE915C",
                  "versionEndExcluding": "1.22.0",
                  "versionStartIncluding": "1.20.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0."
        },
        {
          "lang": "es",
          "value": "Hugging Face Smolagents versi\u00f3n 1.20.0 contiene una vulnerabilidad de inyecci\u00f3n XPath en la funci\u00f3n search_item_ctrl_f ubicada en src/smolagents/vision_web_browser.py. La funci\u00f3n construye una consulta XPath al concatenar directamente la entrada proporcionada por el usuario en la expresi\u00f3n XPath sin una sanitizaci\u00f3n o escape adecuados. Esto permite a un atacante inyectar sintaxis XPath maliciosa que puede alterar la l\u00f3gica de consulta prevista. La vulnerabilidad permite a los atacantes eludir los filtros de b\u00fasqueda, acceder a elementos DOM no deseados y perturbar los flujos de trabajo de automatizaci\u00f3n web. Esto puede conducir a la revelaci\u00f3n de informaci\u00f3n, la manipulaci\u00f3n de las interacciones de los agentes de IA y comprometer la fiabilidad de las tareas web automatizadas. El problema se corrige en la versi\u00f3n 1.22.0."
        }
      ],
      "id": "CVE-2025-11844",
      "lastModified": "2026-10-08T11:10:00.250",
      "metrics": {
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.4,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
              "version": "3.0"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 2.5,
            "source": "security@huntr.dev",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2025-11844",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2025-10-22T14:07:23.770923Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2025-10-22T14:15:49.457",
      "references": [
        {
          "source": "security@huntr.dev",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fbaefab8a794"
        },
        {
          "source": "security@huntr.dev",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
        },
        {
          "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
        }
      ],
      "sourceIdentifier": "security@huntr.dev",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-643"
            }
          ],
          "source": "security@huntr.dev",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-2654

    Vulnerability from fkie_nvd - Published: 2026-02-18 14:16 - Updated: 2026-06-17 10:31
    Summary
    A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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.
    Impacted products
    Vendor Product Version
    huggingface smolagents *

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "LocalPythonExecutor"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.24.0"
                }
              ]
            }
          ],
          "source": "cna@vuldb.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C2A50B65-5D81-4F1A-9144-55A307BE61FB",
                  "versionEndIncluding": "1.24.0",
                  "versionStartIncluding": "1.0.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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."
        },
        {
          "lang": "es",
          "value": "Se ha identificado una debilidad en huggingface smolagents 1.24.0. Afecta a la funci\u00f3n requests.get/requests.post del componente LocalPythonExecutor. La ejecuci\u00f3n de una manipulaci\u00f3n puede conducir a una falsificaci\u00f3n de petici\u00f3n del lado del servidor. Es posible lanzar el ataque remotamente. El exploit se ha puesto a disposici\u00f3n del p\u00fablico y podr\u00eda ser utilizado para ataques. Se contact\u00f3 al proveedor con antelaci\u00f3n sobre esta divulgaci\u00f3n, pero no respondi\u00f3 de ninguna manera."
        }
      ],
      "id": "CVE-2026-2654",
      "lastModified": "2026-06-17T10:31:28.450",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "SINGLE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 6.5,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 8.0,
            "impactScore": 6.4,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "cna@vuldb.com",
            "type": "Secondary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "LOW",
              "baseScore": 6.3,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 3.4,
            "source": "cna@vuldb.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 9.8,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 2.1,
              "baseSeverity": "LOW",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "PROOF_OF_CONCEPT",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "LOW",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "LOW",
              "vulnConfidentialityImpact": "LOW",
              "vulnIntegrityImpact": "LOW",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "cna@vuldb.com",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-2654",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-02-18T14:10:54.671299Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-02-18T14:16:07.277",
      "references": [
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://github.com/CH0ico/CVE_choco_smolagent/tree/main"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?ctiid.346451"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?id.346451"
        },
        {
          "source": "cna@vuldb.com",
          "tags": [
            "Third Party Advisory",
            "VDB Entry"
          ],
          "url": "https://vuldb.com/?submit.752774"
        }
      ],
      "sourceIdentifier": "cna@vuldb.com",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-918"
            }
          ],
          "source": "cna@vuldb.com",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2025-5120

    Vulnerability from fkie_nvd - Published: 2025-07-27 08:15 - Updated: 2026-06-17 09:47
    Summary
    A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0.
    Impacted products
    Vendor Product Version
    huggingface smolagents 1.14.0

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.17.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "source": "security@huntr.dev"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:huggingface:smolagents:1.14.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "35E66BA4-3A20-4E92-8E5F-93E181D675DC",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0."
        },
        {
          "lang": "es",
          "value": "Se identific\u00f3 una vulnerabilidad de escape del entorno de pruebas en la versi\u00f3n 1.14.0 de huggingface/smolagents, que permite a los atacantes eludir el entorno de ejecuci\u00f3n restringido y lograr la ejecuci\u00f3n remota de c\u00f3digo (RCE). La vulnerabilidad se origina en el m\u00f3dulo local_python_executor.py, que restringe inadecuadamente la ejecuci\u00f3n de c\u00f3digo Python a pesar de emplear comprobaciones est\u00e1ticas y din\u00e1micas. Los atacantes pueden explotar m\u00f3dulos y funciones incluidos en la lista blanca para ejecutar c\u00f3digo arbitrario, comprometiendo as\u00ed el sistema host. Esta falla socava la seguridad b\u00e1sica dise\u00f1ada para aislar el c\u00f3digo no confiable, lo que plantea riesgos como la ejecuci\u00f3n no autorizada de c\u00f3digo, la fuga de datos y la posible vulneraci\u00f3n de la integraci\u00f3n. El problema se ha resuelto en la versi\u00f3n 1.17.0."
        }
      ],
      "id": "CVE-2025-5120",
      "lastModified": "2026-06-17T09:47:14.030",
      "metrics": {
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "LOW",
              "baseScore": 7.6,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "LOW",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L",
              "version": "3.0"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 4.7,
            "source": "security@huntr.dev",
            "type": "Secondary"
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 10.0,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 6.0,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2025-5120",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2025-07-28T14:09:15.295611Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2025-07-27T08:15:25.403",
      "references": [
        {
          "source": "security@huntr.dev",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/huggingface/smolagents/commit/33a942e62b6fbf6a35d41f1c735bda2d64c163d0"
        },
        {
          "source": "security@huntr.dev",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://huntr.com/bounties/63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0"
        }
      ],
      "sourceIdentifier": "security@huntr.dev",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-94"
            }
          ],
          "source": "security@huntr.dev",
          "type": "Secondary"
        }
      ]
    }

    CVE-2026-4963 (GCVE-0-2026-4963)

    Vulnerability from nvd – Published: 2026-03-27 17:05 – Updated: 2026-03-31 13:32
    VLAI
    Title
    huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-03-31 13:32 UTC
    CWE
    Assigner
    VulDB CNA under the mitre root
    CNA scorecard B 83/100 over 3859 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    huggingface smolagents Affected: 1.25.0.dev0
        cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-4963",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-03-31T13:32:07.450819Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-03-31T13:32:41.488Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Incomplete Fix CVE-2025-9959"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.25.0.dev0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Eric-z (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 7.5,
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-94",
                  "description": "Code Injection",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-74",
                  "description": "Injection",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-03-27T22:07:35.402Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-353840 | huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/?id.353840"
            },
            {
              "name": "VDB-353840 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/?ctiid.353840"
            },
            {
              "name": "Submit #777623 | HuggingFace smolagents 1.25.0.dev0 CWE-693",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777623"
            },
            {
              "name": "Submit #777643 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777643"
            },
            {
              "name": "Submit #777644 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777644"
            },
            {
              "tags": [
                "related"
              ],
              "url": "https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-03-27T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-03-27T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-03-27T09:23:31.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-4963",
        "datePublished": "2026-03-27T17:05:20.096Z",
        "dateReserved": "2026-03-27T08:17:46.710Z",
        "dateUpdated": "2026-03-31T13:32:41.488Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-2654 (GCVE-0-2026-2654)

    Vulnerability from nvd – Published: 2026-02-18 13:32 – Updated: 2026-02-23 10:17
    VLAI
    Title
    huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
    Summary
    A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-02-18 14:10 UTC
    CWE
    • CWE-918 - Server-Side Request Forgery
    Assigner
    VulDB CNA under the mitre root
    CNA scorecard B 83/100 over 3859 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    huggingface smolagents Affected: 1.24.0
        cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-2654",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-02-18T14:10:54.671299Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-02-18T14:11:19.055Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "LocalPythonExecutor"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.24.0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Choco094late (VulDB User)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 6.5,
                "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-918",
                  "description": "Server-Side Request Forgery",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-02-23T10:17:31.637Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-346451 | huggingface smolagents LocalPythonExecutor requests.post server-side request forgery",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/?id.346451"
            },
            {
              "name": "VDB-346451 | CTI Indicators (IOB, IOC, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/?ctiid.346451"
            },
            {
              "name": "Submit #752774 | Hugging Face smolagents 1.24.0 Server-Side Request Forgery",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.752774"
            },
            {
              "tags": [
                "related"
              ],
              "url": "https://github.com/CH0ico/CVE_choco_smolagent/tree/main"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-02-18T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-02-18T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-02-21T18:45:39.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "huggingface smolagents LocalPythonExecutor requests.post server-side request forgery"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-2654",
        "datePublished": "2026-02-18T13:32:06.959Z",
        "dateReserved": "2026-02-18T06:39:02.728Z",
        "dateUpdated": "2026-02-23T10:17:31.637Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2025-11844 (GCVE-0-2025-11844)

    Vulnerability from nvd – Published: 2025-10-22 13:13 – Updated: 2025-10-22 14:09
    VLAI
    Title
    XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function
    Summary
    Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-10-22 14:07 UTC
    CWE
    • CWE-643 - Improper Neutralization of Data within XPath Expressions
    Assigner
    @huntr_ai CNA under the mitre root
    CNA scorecard C 65/100 over 27 records in the last 180 days details
    Impacted products
    Vendor Product Version
    huggingface huggingface/smolagents Affected: unspecified , < 1.22.0 (custom)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-11844",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-10-22T14:07:23.770923Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-10-22T14:09:51.303Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.22.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0."
            }
          ],
          "metrics": [
            {
              "cvssV3_0": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
                "version": "3.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-643",
                  "description": "CWE-643 Improper Neutralization of Data within XPath Expressions",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-10-22T13:13:55.882Z",
            "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
            "shortName": "@huntr_ai"
          },
          "references": [
            {
              "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
            },
            {
              "url": "https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fbaefab8a794"
            }
          ],
          "source": {
            "advisory": "01ab4405-9bca-4b26-b7a3-5ca1863a69b4",
            "discovery": "EXTERNAL"
          },
          "title": "XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntr_ai",
        "cveId": "CVE-2025-11844",
        "datePublished": "2025-10-22T13:13:55.882Z",
        "dateReserved": "2025-10-16T09:30:14.323Z",
        "dateUpdated": "2025-10-22T14:09:51.303Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2025-5120 (GCVE-0-2025-5120)

    Vulnerability from nvd – Published: 2025-07-27 07:57 – Updated: 2025-07-28 14:09
    VLAI
    Title
    Sandbox Escape Vulnerability in huggingface/smolagents
    Summary
    A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-07-28 14:09 UTC
    CWE
    • CWE-94 - Improper Control of Generation of Code
    Assigner
    @huntr_ai CNA under the mitre root
    CNA scorecard C 65/100 over 27 records in the last 180 days details
    Impacted products
    Vendor Product Version
    huggingface huggingface/smolagents Affected: unspecified , < 1.17.0 (custom)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-5120",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-07-28T14:09:15.295611Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-07-28T14:09:25.944Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.17.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0."
            }
          ],
          "metrics": [
            {
              "cvssV3_0": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.6,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L",
                "version": "3.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-94",
                  "description": "CWE-94 Improper Control of Generation of Code",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-07-27T07:57:07.134Z",
            "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
            "shortName": "@huntr_ai"
          },
          "references": [
            {
              "url": "https://huntr.com/bounties/63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0"
            },
            {
              "url": "https://github.com/huggingface/smolagents/commit/33a942e62b6fbf6a35d41f1c735bda2d64c163d0"
            }
          ],
          "source": {
            "advisory": "63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0",
            "discovery": "EXTERNAL"
          },
          "title": "Sandbox Escape Vulnerability in huggingface/smolagents"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntr_ai",
        "cveId": "CVE-2025-5120",
        "datePublished": "2025-07-27T07:57:07.134Z",
        "dateReserved": "2025-05-23T16:08:54.094Z",
        "dateUpdated": "2025-07-28T14:09:25.944Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2026-4963 (GCVE-0-2026-4963)

    Vulnerability from cvelistv5 – Published: 2026-03-27 17:05 – Updated: 2026-03-31 13:32
    VLAI
    Title
    huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection
    Summary
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-03-31 13:32 UTC
    CWE
    Assigner
    VulDB CNA under the mitre root
    CNA scorecard B 83/100 over 3859 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    huggingface smolagents Affected: 1.25.0.dev0
        cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-4963",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-03-31T13:32:07.450819Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-03-31T13:32:41.488Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "Incomplete Fix CVE-2025-9959"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.25.0.dev0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Eric-z (VulDB User)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "VulDB"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "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",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 7.5,
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-94",
                  "description": "Code Injection",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-74",
                  "description": "Injection",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-03-27T22:07:35.402Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-353840 | huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/?id.353840"
            },
            {
              "name": "VDB-353840 | CTI Indicators (IOB, IOC, TTP, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/?ctiid.353840"
            },
            {
              "name": "Submit #777623 | HuggingFace smolagents 1.25.0.dev0 CWE-693",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777623"
            },
            {
              "name": "Submit #777643 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777643"
            },
            {
              "name": "Submit #777644 | HuggingFace smolagents 1.25.0.dev0 CWE-693 (Duplicate)",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.777644"
            },
            {
              "tags": [
                "related"
              ],
              "url": "https://gist.github.com/YLChen-007/7146f45960f79bc1e2976fed526e0a9b"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://gist.github.com/YLChen-007/35b7d46e892266a0ed6dbe57802858be"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-03-27T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-03-27T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-03-27T09:23:31.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "huggingface smolagents Incomplete Fix CVE-2025-9959 local_python_executor.py evaluate_with code injection"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-4963",
        "datePublished": "2026-03-27T17:05:20.096Z",
        "dateReserved": "2026-03-27T08:17:46.710Z",
        "dateUpdated": "2026-03-31T13:32:41.488Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-2654 (GCVE-0-2026-2654)

    Vulnerability from cvelistv5 – Published: 2026-02-18 13:32 – Updated: 2026-02-23 10:17
    VLAI
    Title
    huggingface smolagents LocalPythonExecutor requests.post server-side request forgery
    Summary
    A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-02-18 14:10 UTC
    CWE
    • CWE-918 - Server-Side Request Forgery
    Assigner
    VulDB CNA under the mitre root
    CNA scorecard B 83/100 over 3859 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    huggingface smolagents Affected: 1.24.0
        cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-2654",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-02-18T14:10:54.671299Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-02-18T14:11:19.055Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*"
              ],
              "modules": [
                "LocalPythonExecutor"
              ],
              "product": "smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "status": "affected",
                  "version": "1.24.0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Choco094late (VulDB User)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A weakness has been identified in huggingface smolagents 1.24.0. Impacted is the function requests.get/requests.post of the component LocalPythonExecutor. Executing a manipulation can lead to server-side request forgery. It is possible to launch 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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
                "version": "3.1"
              }
            },
            {
              "cvssV3_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
                "version": "3.0"
              }
            },
            {
              "cvssV2_0": {
                "baseScore": 6.5,
                "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
                "version": "2.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-918",
                  "description": "Server-Side Request Forgery",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-02-23T10:17:31.637Z",
            "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
            "shortName": "VulDB"
          },
          "references": [
            {
              "name": "VDB-346451 | huggingface smolagents LocalPythonExecutor requests.post server-side request forgery",
              "tags": [
                "vdb-entry",
                "technical-description"
              ],
              "url": "https://vuldb.com/?id.346451"
            },
            {
              "name": "VDB-346451 | CTI Indicators (IOB, IOC, IOA)",
              "tags": [
                "signature",
                "permissions-required"
              ],
              "url": "https://vuldb.com/?ctiid.346451"
            },
            {
              "name": "Submit #752774 | Hugging Face smolagents 1.24.0 Server-Side Request Forgery",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://vuldb.com/?submit.752774"
            },
            {
              "tags": [
                "related"
              ],
              "url": "https://github.com/CH0ico/CVE_choco_smolagent/tree/main"
            },
            {
              "tags": [
                "exploit"
              ],
              "url": "https://github.com/CH0ico/CVE_choco_smolagent/blob/main/report.md#proof-of-concept-execution"
            }
          ],
          "timeline": [
            {
              "lang": "en",
              "time": "2026-02-18T00:00:00.000Z",
              "value": "Advisory disclosed"
            },
            {
              "lang": "en",
              "time": "2026-02-18T01:00:00.000Z",
              "value": "VulDB entry created"
            },
            {
              "lang": "en",
              "time": "2026-02-21T18:45:39.000Z",
              "value": "VulDB entry last update"
            }
          ],
          "title": "huggingface smolagents LocalPythonExecutor requests.post server-side request forgery"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2026-2654",
        "datePublished": "2026-02-18T13:32:06.959Z",
        "dateReserved": "2026-02-18T06:39:02.728Z",
        "dateUpdated": "2026-02-23T10:17:31.637Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2025-11844 (GCVE-0-2025-11844)

    Vulnerability from cvelistv5 – Published: 2025-10-22 13:13 – Updated: 2025-10-22 14:09
    VLAI
    Title
    XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function
    Summary
    Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-10-22 14:07 UTC
    CWE
    • CWE-643 - Improper Neutralization of Data within XPath Expressions
    Assigner
    @huntr_ai CNA under the mitre root
    CNA scorecard C 65/100 over 27 records in the last 180 days details
    Impacted products
    Vendor Product Version
    huggingface huggingface/smolagents Affected: unspecified , < 1.22.0 (custom)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-11844",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-10-22T14:07:23.770923Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-10-22T14:09:51.303Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.22.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0."
            }
          ],
          "metrics": [
            {
              "cvssV3_0": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
                "version": "3.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-643",
                  "description": "CWE-643 Improper Neutralization of Data within XPath Expressions",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-10-22T13:13:55.882Z",
            "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
            "shortName": "@huntr_ai"
          },
          "references": [
            {
              "url": "https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4"
            },
            {
              "url": "https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fbaefab8a794"
            }
          ],
          "source": {
            "advisory": "01ab4405-9bca-4b26-b7a3-5ca1863a69b4",
            "discovery": "EXTERNAL"
          },
          "title": "XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntr_ai",
        "cveId": "CVE-2025-11844",
        "datePublished": "2025-10-22T13:13:55.882Z",
        "dateReserved": "2025-10-16T09:30:14.323Z",
        "dateUpdated": "2025-10-22T14:09:51.303Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2025-5120 (GCVE-0-2025-5120)

    Vulnerability from cvelistv5 – Published: 2025-07-27 07:57 – Updated: 2025-07-28 14:09
    VLAI
    Title
    Sandbox Escape Vulnerability in huggingface/smolagents
    Summary
    A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-07-28 14:09 UTC
    CWE
    • CWE-94 - Improper Control of Generation of Code
    Assigner
    @huntr_ai CNA under the mitre root
    CNA scorecard C 65/100 over 27 records in the last 180 days details
    Impacted products
    Vendor Product Version
    huggingface huggingface/smolagents Affected: unspecified , < 1.17.0 (custom)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-5120",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-07-28T14:09:15.295611Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-07-28T14:09:25.944Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "huggingface/smolagents",
              "vendor": "huggingface",
              "versions": [
                {
                  "lessThan": "1.17.0",
                  "status": "affected",
                  "version": "unspecified",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0."
            }
          ],
          "metrics": [
            {
              "cvssV3_0": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.6,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L",
                "version": "3.0"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-94",
                  "description": "CWE-94 Improper Control of Generation of Code",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-07-27T07:57:07.134Z",
            "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
            "shortName": "@huntr_ai"
          },
          "references": [
            {
              "url": "https://huntr.com/bounties/63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0"
            },
            {
              "url": "https://github.com/huggingface/smolagents/commit/33a942e62b6fbf6a35d41f1c735bda2d64c163d0"
            }
          ],
          "source": {
            "advisory": "63ab1cfe-b573-4cf5-a7d3-fb6c957e34b0",
            "discovery": "EXTERNAL"
          },
          "title": "Sandbox Escape Vulnerability in huggingface/smolagents"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntr_ai",
        "cveId": "CVE-2025-5120",
        "datePublished": "2025-07-27T07:57:07.134Z",
        "dateReserved": "2025-05-23T16:08:54.094Z",
        "dateUpdated": "2025-07-28T14:09:25.944Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }