What’s Vulnerable › Vulnerabilities
CVE-2023-7018: Deserialization of Untrusted Data in huggingface/transformers
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-12-20 · updated 2026-06-17
- Weakness: CWE-502
Description
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
Affected products
- huggingface/transformers: before 4.36.0 — fixed in 4.36.0
How to fix
Upgrade to a fixed version: huggingface/transformers 4.36.0. Check the vendor advisory for mitigations.
References
- https://github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
- https://huntr.com/bounties/e1a3e548-e53a-48df-b708-9ee62140963c
- https://github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
- https://huntr.com/bounties/e1a3e548-e53a-48df-b708-9ee62140963c
Get alerted when CVE-2023-7018 or the next vulnerability affects your stack