CVE-2025-54381
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-29

Last updated on: 2025-08-05

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-29
Last Modified
2025-08-05
Generated
2026-05-07
AI Q&A
2025-07-30
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
bentoml bentoml From 1.4.0 (inc) to 1.4.19 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Server-Side Request Forgery (SSRF) in BentoML versions 1.4.0 to 1.4.19. It occurs because the file upload processing system automatically downloads files from user-provided URLs without validating whether those URLs point to internal or restricted network resources. This allows unauthenticated remote attackers to make the server perform arbitrary HTTP requests, potentially accessing internal services or sensitive endpoints.


How can this vulnerability impact me? :

The vulnerability can allow attackers to make the server send arbitrary HTTP requests to internal or restricted network resources. This can lead to unauthorized access to sensitive internal services, cloud metadata endpoints, or other protected resources, potentially resulting in data exposure, information leakage, or further exploitation within the network.


What immediate steps should I take to mitigate this vulnerability?

Upgrade BentoML to version 1.4.19 or later, which contains a patch for this SSRF vulnerability. Until then, consider disabling or restricting the URL-based file upload feature to prevent unauthenticated remote attackers from forcing the server to make arbitrary HTTP requests.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart