Vulnerabilities · 2023 · Huggingface
CVE-2023-6730
Huggingface Transformers vulnerability
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
Affected products
Transformers. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Huggingface Transformers runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce · Patch
- huntr.com/bounties/423611ee-7a2a-442a-babb-3ed2f8385c16 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-6730
- github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-300.yaml
- github.com/advisories/GHSA-3863-2447-669p
- nvd.nist.gov/vuln/detail/CVE-2023-6730
- cve.org/CVERecord?id=CVE-2023-6730
More vulnerabilities in Huggingface products
CVE-2025-14930CVE-2025-14929CVE-2025-14928CVE-2025-14927CVE-2025-14926CVE-2025-14924CVE-2025-14921CVE-2025-14920All 29
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.