CVE-2025-54381
CRITICAL 9.9CVSS 3.1BentoML SSRF Vulnerability in File Upload Processing
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.
- Published
- 29 Jul 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-mrmq-3q62-6cc8PYSEC-2026-297
- Sources
- NVDJSONOSV GHSA-mrmq-3q62-6cc8JSONOSV PYSEC-2026-297JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bentoml | bentomlcpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.4.19 | 1.4.19 |
| OSV | PyPI | bentoml | >= 1.4.0, < 1.4.19 | 1.4.19 |
References
- https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8 · Patch, WEB
- https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8 · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54381 · ADVISORY
- https://github.com/bentoml/BentoML · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-297.yaml · WEB
- https://pypi.org/project/bentoml · WEB, PACKAGE
- https://github.com/advisories/GHSA-mrmq-3q62-6cc8 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jul 2025)