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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*

History

05 Aug 2025, 15:41

Type Values Removed Values Added
First Time Bentoml bentoml
Bentoml
References () https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8 - () https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8 - Patch
References () https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 - () https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 - Exploit, Vendor Advisory, Mitigation
CPE cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*

30 Jul 2025, 15:15

Type Values Removed Values Added
References () https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 - () https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 -
Summary
  • (es) BentoML es una librería de Python para crear sistemas de servicios en línea optimizados para aplicaciones de IA e inferencia de modelos. En las versiones 1.4.0 a 1.4.19, el sistema de procesamiento de carga de archivos contiene una vulnerabilidad SSRF que permite a atacantes remotos no autenticados forzar al servidor a realizar solicitudes HTTP arbitrarias. La vulnerabilidad se origina en los manejadores de datos de formularios multiparte y solicitudes JSON, que descargan archivos automáticamente desde URL proporcionadas por el usuario sin validar si estas URL apuntan a direcciones de red internas, endpoints de metadatos en la nube u otros recursos restringidos. La documentación promueve explícitamente esta función de carga de archivos basada en URL, lo que la convierte en un diseño que expone todos los servicios implementados a ataques SSRF por defecto. La versión 1.4.19 incluye un parche para este problema.

29 Jul 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-29 23:15

Updated : 2025-08-05 15:41


NVD link : CVE-2025-54381

Mitre link : CVE-2025-54381

CVE.ORG link : CVE-2025-54381


JSON object : View

Products Affected

bentoml

  • bentoml
CWE
CWE-918

Server-Side Request Forgery (SSRF)