What’s Vulnerable › Vulnerabilities
CVE-2025-54381: BentoML is Vulnerable to an SSRF Attack Through File Upload Processing
- Severity: critical (CVSS 9.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 16.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-29 · updated 2026-06-17
- Weakness: CWE-918
Description
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.
Affected products
- BentoML: from 1.4.0 before 1.4.19 — fixed in 1.4.19
How to fix
Upgrade to a fixed version: BentoML 1.4.19. Check the vendor advisory for mitigations.
References
- https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8
- https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8
- https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8
Get alerted when CVE-2025-54381 or the next vulnerability affects your stack