CVE-2025-54381 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in BentoML versions 1.4.0 prior to 1.4.19. This vulnerability allows unauthenticated remote attackers to manipulate the server into making arbitrary HTTP requests. The issue arises in the file upload processing system, specifically within the multipart form data and JSON request handlers. These handlers automatically download files from user-supplied URLs without properly validating whether the URLs point to internal network addresses, cloud metadata endpoints, or other restricted resources. The vulnerability is exacerbated by the fact that the BentoML documentation promotes this URL-based file upload feature, creating an intended design flaw that exposes deployed services to SSRF attacks by default.
Users are advised to update to BentoML version 1.4.19, which includes a patch for this vulnerability. For those using earlier versions, it is recommended to implement manual URL validation in the file upload processing to prevent access to internal network addresses and cloud metadata endpoints.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8 | [email protected] | Patch |
| https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bentoml bentoml | >= 1.4.0, < 1.4.19 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2025 | Initial Analysis | [email protected] |
| Jul 30, 2025 | CVE Modified | CISA-ADP |
| Jul 29, 2025 | New CVE Received | [email protected] |