CVE-2025-54381CWE-918

BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

Critical · published July 29, 2025

CVSS v3.1
9.9
EPSS
16%
Percentile
96.9
In the wild
Unconfirmed
What it is

🚨 An unauthenticated attacker can force your server to make arbitrary HTTP requests. That's like giving a stranger your phone and asking them to call anyone they want! 🔥 Think of it like a delivery service that never checks the sender's address. Instead of verifying where a package is coming from, it just delivers anything that arrives, potentially bringing unwanted surprises straight to your doorstep. This SSRF vulnerability could allow an attacker to access sensitive internal resources, including metadata endpoints, which could lead to data leaks or unauthorized access to your systems. It's absolutely devastating when a server, designed to help you, ends up being manipulated into exposing your data!

Put simply

Think of it like a delivery service that never checks the sender's address. Instead of verifying where a package is coming from, it just delivers anything that arrives, potentially bringing unwanted surprises straight to your doorstep. In BentoML versions 1.4.0 to 1.4.19, the file upload feature accepts user-provided URLs and automatically downloads files from those locations without proper validation. This design flaw makes it easy for attackers to exploit the server's trust in those URLs.

What to do

This SSRF vulnerability could allow an attacker to access sensitive internal resources, including metadata endpoints, which could lead to data leaks or unauthorized access to your systems. It's absolutely devastating when a server, designed to help you, ends up being manipulated into exposing your data! Immediately upgrade to BentoML version 1.4.19 to patch this vulnerability. Additionally, review your file upload configurations and ensure that URLs are validated adequately to prevent any unauthorized access. Don't let your server be the delivery service for attackers! You've got this! Secure your systems and keep the bad guys out! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.16152 · 96.9th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2025-07-29T22:11Z
EPSS history
Timeline
  • 29 JUL 22:11Z
    BentoML is Vulnerable to an SSRF Attack Through File Upload Processing
    cvelistv5