VYPR
High severity7.8NVD Advisory· Published Mar 3, 2026· Updated Jun 17, 2026

CVE-2026-27905

CVE-2026-27905

Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members it only validates the symlink's own path, not the symlink's target. An attacker can create a malicious bento/model tar file containing a symlink pointing outside the extraction directory, followed by a regular file that writes through the symlink, achieving arbitrary file write on the host filesystem. This vulnerability is fixed in 1.4.36.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
bentomlPyPI
< 1.4.361.4.36

Affected products

3
  • Bentoml/Bentoml2 versions
    cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*range: <1.4.36
    • (no CPE)range: < 1.4.36
  • ghsa-coords
    Range: < 1.4.36

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.