p PatchFirst

CVE-2025-5120

CVE-2025-5120 · Sandbox Escape Vulnerability in huggingface/smolagents

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 7.6 · Élevée · EPSS 31,2% · Correctif disponible

Publication
Mise à jour

Pile logicielle: python

Produits et versions concernés

  • huggingface/smolagents

    Versions du logiciel
    • ≥ unspecified, < 1.17.0: Concernée (custom)

    Mettez à jour vers 1.17.0

  • smolagents PyPI

    Versions du logiciel
    • 0.1.0
    • 0.1.2
    • 0.1.3
    • 1.0.0
    • 1.1.0
    • 1.10.0
    • 1.11.0
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.15.0
    • 1.16.0
    • 1.16.1
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.3.0
    • 1.4.0
    • 1.4.1
    • 1.5.0
    • 1.5.1
    • 1.6.0
    • 1.7.0
    • 1.8.0
    • 1.8.1
    • 1.9.0
    • 1.9.1
    • 1.9.2
    Plages de versions concernées
    • ECOSYSTEM: < 1.17.0

    Mettez à jour vers 1.17.0

Sources originales

Vérifiez votre serveur →