CVE-2025-54381

Critical

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductBentoml
PublishedJul 29, 2025
First seenJul 29, 2025

How to fix

Update
  • bentoml bentoml1.4.19 or later
  • bentoml1.4.19 or later

Affected products

ProductAffected versionsFixed in
bentoml bentoml1.4.0 ≤ v < 1.4.191.4.19
bentomlPyPI1.4.0 ≤ v < 1.4.191.4.19

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-54381 · Bentoml · Dark Radar