cbcvebase.
CVE-2025-54381
published 2025-07-29

CVE-2025-54381: 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…

PriorityP276critical9.9CVSS 3.1
AVNACLPRNUINSCCHILAL
EPSS
11.88%
95.6th percentile
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

3 ranges
VendorProductVersion rangeFixed in
bentomlbentoml
bentomlbentoml>= 1.4.0 < 1.4.191.4.19
bentomlbentoml>= 1.4.0 < 1.4.191.4.19

Detection & IOCsextracted from sources · hover to see the quote

  • The SSRF vulnerability is triggered via multipart form data and JSON request handlers that automatically download files from user-provided URLs — monitor for outbound HTTP requests originating from the BentoML server process to internal network addresses or cloud metadata endpoints (e.g., 169.254.169.254) following inbound multipart/JSON file upload requests.
  • The SSRF is exploitable by unauthenticated remote attackers — no authentication bypass is required; any inbound request to BentoML file upload endpoints from untrusted sources should be treated as potentially malicious.
  • The initial patch in version 1.4.19 was insufficient and a bypass was possible — environments running BentoML 1.4.0 through 1.4.21 remain vulnerable; detection should cover all versions prior to 1.4.22.
  • The URL-based file upload feature is an explicitly documented, default-enabled design — all BentoML deployments in versions 1.4.0–1.4.18 are exposed to SSRF by default without any special configuration required by the attacker.
  • ·The vulnerability affects BentoML versions 1.4.0 through 1.4.18 per the NVD entry, but Tenable Research confirmed the patch in 1.4.19 was bypassable — the true fixed version is 1.4.22 or later.
  • ·Upgrade to BentoML 1.4.22 or later is required for a complete fix; versions 1.4.19 through 1.4.21 contain an incomplete patch with a known bypass.
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.