SSRF in Bentoml
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 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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L.
EPSS exploit prediction
EPSS 0.138, 96.6th percentile (scored ); down from 0.161 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.161 · newest: 0.138 · change: -0.022
Affected products
- Bentoml — versions >= 1.4.0, < 1.4.19
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- IS8123/CVE-2025-54381 (last pushed 2025-11-24)
- rockmelodies/bentoml_CVE-2025-54381 (last pushed 2025-07-29): Ai相关
- B1ack4sh/Blackash-CVE-2025-54381
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, JoshuaMart/JoshuaMart, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.