Skip to main content
← All vulnerabilities
CVE-2025-54381GHSA-MRMQ-3Q62-6CC8PYSEC-2026-297

BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.19
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • bentoml BentoML

    From 1.4.0 · fixed in 1.4.19

  • bentomlPyPI

    From 1.4.0 · fixed in 1.4.19

References 3

GitHub · bentoml/BentoML

GitHub · rockmelodies/bentoml_CVE-2025-54381