Symlink Attack Affecting bentoml package, versions [,1.4.39)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-BENTOML-16479115
  • published7 May 2026
  • disclosed7 May 2026
  • creditlarlarua

Introduced: 7 May 2026

CVE-2026-40610  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade bentoml to version 1.4.39 or higher.

Overview

bentoml is a BentoML: Build Production-Grade AI Applications

Affected versions of this package are vulnerable to Symlink Attack via the build packaging workflow. An attacker can access sensitive files from the build host by introducing crafted symlinks in the build context, which are followed and copied into the generated artifact during packaging. This can result in the exposure of confidential information if a developer or CI system builds from an untrusted source.

CVSS Base Scores

version 4.0
version 3.1