Server-side Request Forgery (SSRF) Affecting bentoml package, versions [1.4.0,1.4.19)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.12% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-BENTOML-11327149
  • published30 Jul 2025
  • disclosed29 Jul 2025
  • creditGecko Security

Introduced: 29 Jul 2025

CVE-2025-54381  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade bentoml to version 1.4.19 or higher.

Overview

bentoml is a BentoML: Build Production-Grade AI Applications

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the MultipartSerde. ensure_file and JSONSerde.parse_request processes. An attacker can cause the server to make arbitrary HTTP requests to internal or external endpoints by supplying crafted URLs in multipart form fields or JSON request bodies.

References

CVSS Base Scores

version 4.0
version 3.1