CVE-2025-27520BentoML Insecure Deserialization
BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
Published Apr 4, 2025 · Updated Sep 10, 2026 · Also known as GHSA-33xw-247w-6hmc, PYSEC-2026-294
Key Facts
Patch immediately- CVE-2025-27520 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting BentoML.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 41% probability of exploitation in the next 30 days.
- Fixed versions are available, including BentoML 1.4.3, BentoML <=1.4.2, BentoML 1.4.2.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
41%
Higher than 98.6% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
56/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerability caused by insecure deserialization has been identified in the latest version (v1.4.2) of BentoML. It allows any unauthenticated user to execute arbitrary code on the server. It exists an unsafe code segment in serde.py. This vulnerability is fixed in 1.4.3.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| BentoMLBentoml | >= 1.3.4, >= >= 1.3.4, < 1.4.3 | 1.4.2 |
Patched Releases
BentoML
1.4.3, <=1.4.2
Timeline
Publicly disclosed
Apr 4, 2025
Last updated
Sep 10, 2026
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-27520
- advisoryGHSA advisory
- exploitMSF bentoml_rce_cve_2025_27520.rb
- articlehttps://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194
FAQ
Common Questions.
BentoML is a Python library for building online serving systems optimized for AI apps and model inference.
Affected: BentoML versions >= 1.3.4, >= >= 1.3.4, < 1.4.3. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including BentoML 1.4.3, BentoML <=1.4.2, BentoML 1.4.2.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2025-27520 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo