{"cve":"CVE-2026-27905","nvd":{"published":"2026-03-03T23:15:55.897","modified":"2026-10-07T08:10:00.200","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-59"],"references":["https://github.com/bentoml/BentoML/commit/4e0eb007765ac04c7924220d643f264715cc9670","https://github.com/bentoml/BentoML/security/advisories/GHSA-m6w7-qv66-g3mf"],"products":["bentoml:bentoml"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27905","score":0.00267,"percentile":0.18665,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-m6w7-qv66-g3mf","url":"https://osv.dev/vulnerability/GHSA-m6w7-qv66-g3mf","summary":"BentoML Vulnerable to Arbitrary File Write via Symlink Path Traversal in Tar Extraction","modified":"2026-07-13T16:43:31.737282240Z","packages":[{"ecosystem":"PyPI","name":"bentoml","purl":"pkg:pypi/bentoml","ranges":["<1.4.36"],"fixed":["1.4.36"]}]},{"id":"PYSEC-2026-2398","url":"https://osv.dev/vulnerability/PYSEC-2026-2398","summary":"BentoML Vulnerable to Arbitrary File Write via Symlink Path Traversal in Tar Extraction","modified":"2026-07-13T16:31:38.609118661Z","packages":[{"ecosystem":"PyPI","name":"bentoml","purl":"pkg:pypi/bentoml","ranges":["<1.4.36"],"fixed":["1.4.36"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}