BentoML
Insecure Deserialization leads to RCE in BentoML's runner server
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.8, there was an insecure deserialization in BentoML's runner server. By setting specific headers and parameters in the POST request, it is possible to execute any unauthorized arbitrary code on the server, which will grant the attackers to have the initial access and information disclosure on the server. This vulnerability is fixed in 1.4.8.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.0, < 1.4.8
Fixed in 1.4.8
Mitigation
Upgrade BentoML to 1.4.8 or later.
References
- Vendor advisory github.com/bentoml/BentoML/security/advisories…
Timeline
Days relative to CVE publicationFirst public PoC 7.8 days after publication; not in CISA KEV. First PoC: Metasploit exploit: BentoML's runner server RCE (exploit/linux/http/bentoml_runner_server_rce_cve_2025_32375) (Metasploit, 17 Apr 2025).
PoC repositories
Found on GitHub.1 PoCs · 1 suspicious or fake
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| theGEBIRGE/CVE-2025-32375 | 3 May 2025 +24 d | 3 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| SevdaKhidirova/CVE-2025-32375-PoC | 5 Aug 2026 +1.3 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: BentoML's runner server RCE (exploit/linux/http/bentoml_runner_server_rce_cve_2025_32375) | 17 Apr 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /
- Key headers
Args-Number: 1Batch-Size: -1Payload-Container: NdarrayContainerPayload-Meta: {var}- Content-Type
application/vnd.bentoml.pickled- Ports
- 3000
- Seen in
- 1 repo: theGEBIRGE/CVE-2025-32375
- Evidence
- theGEBIRGE/CVE-2025-32375/exploit.py:23
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-32375 bentoml BentoML exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.header; content:"Args-Number: 1"; nocase; http.header; content:"Batch-Size: -1"; nocase; http.header; content:"Payload-Container: NdarrayContainer"; nocase; http.header_names; content:"Payload-Meta"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-32375; classtype:web-application-attack; sid:9851561; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: bentoml BentoML exploit attempt (CVE-2025-32375)
id: gg-pocmon-cve-2025-32375-9851561
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32375. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-32375
logsource:
category: webserver
detection:
selection:
cs-method: POST
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.32375