BentoML SSRF Vulnerability in File Upload Processing
CVE-2025-54381 · GHSA-mrmq-3q62-6cc8 · published 2025-07-29 · updated 2026-10-27
- Severity
- Critical
- CVSS score
- 9.9
- Chance of exploitation (EPSS)
- 13.8%
- Fixed in
- 1.4.19
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Access AWS/GCP/Azure cloud metadata services for credential theft Enumerate and interact with internal HTTP services and APIs Bypass firewall restrictions to reach internal network resources Perform network reconnaissance from the server's perspective Retrieve sensitive information disclosed in HTTP response data Potential for internal service exploitation through crafted requests
Upgrade bentoml to 1.4.19 or later.
Implement comprehensive URL validation in both serialization paths by adding network restriction checks to prevent access to internal/private network ranges, localhost, and cloud metadata endpoints. The existing ishttpurl() function should be enhanced to include allowlist validation rather than just scheme checking.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| bentoml | PyPI | >= 1.4.0, < 1.4.19 | 1.4.19 |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- Criticallobe-chat `/api/proxy` endpoint Server-Side Request Forgery vulnerability@lobehub/chat
- CriticalBentoML's runner server Vulnerable to Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML Allows Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML deserialization vulnerabilitybentoml
- CriticalInsecure deserialization in BentoMLbentoml
- HighBentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)bentoml
- HighDockerfile command injection via envs[*].name in bentofile.yaml (sibling fix-bypass of CVE-2026-33744 and CVE-2026-35043)bentoml
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.