CVE-2025-54381

published 29 Jul 2025 · updated 30 Jul 2025

BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

10.0CriticalCVSS 9.9EPSS 14%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 14%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
bentoml>=1.4.0 <1.4.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-54381 severity on Zeptric[![CVE-2025-54381](https://zeptric.io/badge/cve/CVE-2025-54381.svg)](https://zeptric.io/cve/CVE-2025-54381)