{"id":"CVE-2025-54381","published":"2025-07-29T22:11:24Z","modified":"2025-07-30T15:07:10Z","title":"BentoML is Vulnerable to an SSRF Attack Through File Upload Processing","vendor":"bentoml","product":"BentoML","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.13849,"percentile":0.96613,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-mrmq-3q62-6cc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bentoml/BentoML/commit/534c3584621da4ab954bdc3d814cc66b95ae5fb8","tags":["x_refsource_MISC"]}],"priority":{"score":31.3,"factors":[{"name":"EPSS percentile","points":19.32},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.93}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-07-29","earliestUrl":"https://github.com/rockmelodies/bentoml_CVE-2025-54381","repos":[{"name":"rockmelodies/bentoml_CVE-2025-54381","url":"https://github.com/rockmelodies/bentoml_CVE-2025-54381","stars":0,"created":"2025-07-29"}]},"first":{"date":"2025-07-29","source":"PoC-in-GitHub","url":"https://github.com/rockmelodies/bentoml_CVE-2025-54381"},"provenance":"source"},"vendorSlug":"bentoml","affectedVersions":[{"vendor":"bentoml","product":"BentoML","versions":[">= 1.4.0, < 1.4.19"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-30T13:32:09.733713Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bentoml","vulnerableRanges":[">=1.4.0, <1.4.19"],"patched":["1.4.19"],"from":["GHSA-mrmq-3q62-6cc8","PYSEC-2026-297"],"provenance":"source"}],"summary":{"text":"BentoML, a Python library for serving AI and model inference applications, contains a server-side request forgery flaw in its file upload processing, found in the multipart form data and JSON request handlers, which fetch files from user-supplied URLs. An unauthenticated remote attacker can exploit this over the network, without user interaction, to make the server issue arbitrary HTTP requests to internal addresses or cloud metadata endpoints, since the URLs are not validated before download.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:39Z"},"euvd":{"id":"EUVD-2025-23049","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bentoml-cve-2025-54381","children":[{"from":"CVE-2025-54381","to":"CVE-2026-78205","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This is an incomplete fix for CVE-2025-54381.","from":"CVE.org","in":"CVE-2026-78205"}]}],"packageHistory":[{"cve":"CVE-2024-2912","published":"2024-04-16","fixed":"1.2.5","kev":false},{"cve":"CVE-2025-27520","published":"2025-04-04","fixed":"1.4.3","kev":false},{"cve":"CVE-2025-32375","published":"2025-04-09","fixed":"1.4.8","kev":false,"link":{"from":"CVE-2025-32375","to":"CVE-2025-54381","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.8","toFixed":"1.4.19","daysApart":111}]}},{"cve":"CVE-2025-54381","published":"2025-07-29","fixed":"1.4.19","kev":false},{"cve":"CVE-2026-24123","published":"2026-01-26","fixed":"1.4.34","kev":false,"link":{"from":"CVE-2025-54381","to":"CVE-2026-24123","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.19","toFixed":"1.4.34","daysApart":181}]}},{"cve":"CVE-2026-27905","published":"2026-03-03","fixed":"1.4.36","kev":false},{"cve":"CVE-2026-33744","published":"2026-03-27","fixed":"1.4.37","kev":false}],"package":"PyPI:bentoml"}}