What’s Vulnerable › Vulnerabilities
CVE-2023-6730: Deserialization of Untrusted Data in huggingface/transformers
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-12-19 · 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/423611ee-7a2a-442a-babb-3ed2f8385c16
- https://github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
- https://huntr.com/bounties/423611ee-7a2a-442a-babb-3ed2f8385c16
Get alerted when CVE-2023-6730 or the next vulnerability affects your stack