CVE-2025-54381Bentoml
Critical 9.9 No auth needed
Follow: this CVE · Bentoml · Bentoml We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- No
- Published
- Jul 29, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
What happens
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.0 until 1.4.19, the file upload processing system contains an SSRF vulnerability that allows unauthenticated remote attackers to force the server to make arbitrary HTTP requests. The vulnerability stems from the multipart form data and JSON request handlers, which automatically download files from user-provided URLs without validating whether those URLs point to internal network addresses, cloud metadata endpoints, or other restricted resources. The documentation explicitly promotes this URL-based file upload feature, making it an intended design that exposes all deployed services to SSRF attacks by default. Version 1.4.19 contains a patch for the issue.
What to do
- Apply the vendor's security update for Bentoml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bentoml |
≥ 1.4.0 < 1.4.19 |
1.4.19 |
pip install "bentoml>=1.4.19" |
| PyPI | bentoml |
≥ 1.4.0 < 1.4.19 |
1.4.19 |
pip install "bentoml>=1.4.19" |
Per OSV / GitHub Advisories (GHSA-mrmq-3q62-6cc8, PYSEC-2026-297). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bentoml | bentoml | ≥ 1.4.0 < 1.4.19 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Mitigation Vendor Advisory