Cyber Resilience

CVE-2025-54381

SSRF in Bentoml 1.4.0 – 1.4.19

Public PoCSSRF
Published
29 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 9.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
EPSS Score 0.12 96th percentile
Risk Priority 79 floored blend · peak EPSS

Summary

CVE-2025-54381 is a critical-severity SSRF (CWE-918) vulnerability in Bentoml Bentoml. Its CVSS base score is 9.9 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as NLP and Transformers; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

BentoML is a Python library used to build online serving systems for AI applications and model inference. CVE-2025-54381 is a server-side request forgery vulnerability present in versions 1.4.0 through 1.4.19. It resides in the multipart form data and JSON request handlers that process file uploads; these handlers automatically fetch content from URLs supplied by clients without checking whether the destinations are internal network addresses, cloud metadata services, or other restricted endpoints. The library's documentation explicitly encourages this URL-based upload pattern, leaving all default deployments exposed.

Unauthenticated remote attackers can exploit the flaw simply by submitting crafted upload requests containing arbitrary URLs. Successful exploitation allows the BentoML server to be coerced into issuing HTTP requests to internal or otherwise inaccessible resources, potentially disclosing sensitive data or interacting with cloud instance metadata.

The GitHub Security Advisory GHSA-mrmq-3q62-6cc8 and the associated commit 534c3584621da4ab954bdc3d814cc66b95ae5fb8 state that the issue is resolved in version 1.4.19. Administrators should upgrade immediately and review any custom URL-handling logic that may remain after the patch.

The vulnerability affects an AI/ML serving framework, but the EPSS score has remained flat at 0.0131 with no observed increase after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
NLP and Transformers
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: ai, bentoml

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-24123Same product: Bentoml Bentoml
CVE-2025-32375Same product: Bentoml Bentoml
CVE-2025-27520Same product: Bentoml Bentoml
CVE-2026-35043Same product: Bentoml Bentoml
CVE-2026-44345Same product: Bentoml Bentoml
CVE-2026-33744Same product: Bentoml Bentoml
CVE-2026-44346Same product: Bentoml Bentoml
CVE-2026-35044Same product: Bentoml Bentoml
CVE-2026-40610Same product: Bentoml Bentoml
CVE-2026-27905Same product: Bentoml Bentoml

Affected Assets

bentoml
bentoml
1.4.0 — 1.4.19

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.6
  • V1.5.3
  • V5.3.2
  • V10.4.7

Mitigating Controls (NIST 800-53 r5) AI

Information flow enforcement can restrict which destinations the server is allowed to contact on behalf of users.

Input validation directly stops untrusted URLs from being accepted and fetched without destination checks.

Boundary protection limits the network reach of server-initiated requests even if SSRF occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure development practices directly include input validation and destination allow-listing that prevent SSRF.

DE.CM-09 partial match
prevents

Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover and record SSRF flaws in web applications.

PR.IR-01 partial match
prevents

Network segmentation and egress controls can limit the damage from successful SSRF requests.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Operational threat data describing SSRF campaigns can be used to tighten outbound-request allow-lists and detection rules before attackers exploit them.

References