BentoML
BentoML is Vulnerable to an SSRF Attack Through File Upload Processing
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.4.0, < 1.4.19
Fixed in 1.4.19
Mitigation
Upgrade BentoML to 1.4.19 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.3 pending · 1 informational
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| IS8123/CVE-2025-54381 | 24 Nov 2025 +118 d | 0 | Pending · repository unavailable (HTTP 404) |
| GarryWhite109909/Graduation-Project | 28 Jun 2026 +333 d | 1 | Pending · repository exceeds size limit via PoC Index |
| B1ack4sh/Blackash-CVE-2025-54381 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rockmelodies/bentoml_CVE-2025-54381 | 29 Jul 2025 +1 h | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.