ADVISORIES

Vulnerability

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories

  • GHSA-mrmq-3q62-6cc8

    BentoML SSRF Vulnerability in File Upload Processing

    Critical CVE-2025-54381 PyPI Updated 27 October 2026
  • PYSEC-2026-297

    BentoML SSRF Vulnerability in File Upload Processing

    CVE-2025-54381 PyPI Updated 1 July 2026

References