HighVulnerability
GHSA-m6w7-qv66-g3mf: BentoML Vulnerable to Arbitrary File Write via Symlink Path Traversal in Tar Extraction
- Identifiers
- CVE-2026-27905GHSA-m6w7-qv66-g3mf
- Published
- Record updated
- Affected
- bentoml < 1.4.36
- Fixed in
- 1.4.36
- released March 6, 2026, 3 days after disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
BentoML's `safe_extract_tarfile()` in `src/bentoml/_internal/utils/filesystem.py` checks only a tar member's own path, not the target of a symlink member. A crafted bento or model tar can therefore place a symlink pointing outside the extraction directory and then write a regular file through it, giving arbitrary file write on the host. The source rates it CVSS 3.1 8.1 (High) and says all versions containing `safe_extract_tarfile()` are affected.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- bentomlPyPINo LLM dependency detected · 1 tracked dependent
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online