{"cve":"CVE-2026-40610","nvd":{"published":"2026-05-22T20:16:34.760","modified":"2026-10-06T22:10:00.247","status":"Analyzed","description":"BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.38 and prior, the build packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file contents into the generated Bento artifact. If a victim builds an untrusted repository or other attacker-supplied build context, the attacker can place a symlink such as loot.txt -> /tmp/outside-marker.txt or a link to a more sensitive local file. When bentoml build runs, BentoML dereferences the symlink and packages the target file contents into the Bento. The leaked file can then propagate further through export, push, or containerization workflows. An attacker can exfiltrate local files from the build host into the Bento artifact, exposing secrets such as cloud credentials, SSH keys, API tokens, environment files, or other sensitive local configurations. Because Bento artifacts are commonly exported, uploaded, stored, or containerized after build, the leaked file contents can spread beyond the original build machine. This issue has been fixed in version 1.4.39.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-59"],"references":["https://github.com/bentoml/BentoML/commit/5fb7cd41f92e2a56b45391284cf15b9ac9963a1f","https://github.com/bentoml/BentoML/releases/tag/v1.4.39","https://github.com/bentoml/BentoML/security/advisories/GHSA-mcfx-4vc6-qgxv","https://github.com/bentoml/BentoML/security/advisories/GHSA-mcfx-4vc6-qgxv"],"products":["bentoml:bentoml"],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-40610","score":0.00284,"percentile":0.2072,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mcfx-4vc6-qgxv","url":"https://osv.dev/vulnerability/GHSA-mcfx-4vc6-qgxv","summary":"BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context","modified":"2026-07-13T16:42:34.296068142Z","packages":[{"ecosystem":"PyPI","name":"bentoml","purl":"pkg:pypi/bentoml","ranges":["<1.4.39"],"fixed":["1.4.39"]}]},{"id":"PYSEC-2026-2399","url":"https://osv.dev/vulnerability/PYSEC-2026-2399","summary":"BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context","modified":"2026-07-13T16:31:38.921736893Z","packages":[{"ecosystem":"PyPI","name":"bentoml","purl":"pkg:pypi/bentoml","ranges":["<1.4.39"],"fixed":["1.4.39"]}]}],"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."]}