Skip to content
OpenAdvisories
Critical · 9.9 Public exploit CVE-2025-54381 EUVD-2025-23049GHSA-mrmq-3q62-6cc8PYSEC-2026-297

BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

Published Jul 29, 2025 · Updated Jul 30, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
bentoml BentoML >= 1.4.0, < 1.4.19 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI bentoml >= 1.4.0, < 1.4.19 1.4.19 GHSA-mrmq-3q62-6cc8

References