CVE-2025-54381

Public Exploit
BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

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.

Category

9.9
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.08%
Vendor Advisory github.com
Affected: bentoml BentoML
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-54381?
CVE-2025-54381 has been scored as a critical severity vulnerability.
How to fix CVE-2025-54381?
To fix CVE-2025-54381, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-54381 being actively exploited in the wild?
It is possible that CVE-2025-54381 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-54381?
CVE-2025-54381 affects bentoml BentoML.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.