# CVE-2023-6730: Deserialization of Untrusted Data in huggingface/transformers

- Severity: Critical 9.0 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-19T12:11:20.729Z
- Modified: 2026-06-17T06:51:18.990Z
- Also known as: GHSA-3863-2447-669p, PYSEC-2023-300
- Weaknesses: CWE-502
- Assigned by: @huntr_ai

## Description

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

(As written by CVE List.)

## Affected

- huggingface huggingface/transformers: from unspecified before 4.36
- transformers (PyPI): before 4.36.0; before 1d63b0ec361e7a38f1339385e8a5a855085532ce
- huggingface transformers: before 4.36.0

## Every score

- @huntr_ai: CVSS:3.0 9.0 Critical `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.0 Critical `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/423611ee-7a2a-442a-babb-3ed2f8385c16> (exploit, evidence, web)
- <https://github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6730> (advisory)
- <https://github.com/huggingface/transformers> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-300.yaml> (web)
- <https://github.com/advisories/GHSA-3863-2447-669p> (advisory)

## Sources

- CVE List: [CVE-2023-6730](https://www.cve.org/CVERecord?id=CVE-2023-6730), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-3863-2447-669p](https://github.com/advisories/GHSA-3863-2447-669p), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2023-6730](https://nvd.nist.gov/vuln/detail/CVE-2023-6730), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-300](https://osv.dev/vulnerability/PYSEC-2023-300), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-6730 · Whole record: https://cve.day/CVE-2023-6730.json · Rebuilt by cve.day 2026-11-25T22:58:31.510Z
