# CVE-2023-2800: Insecure Temporary File in huggingface/transformers

- Severity: Medium 4.7 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/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.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-18T00:00:00.000Z
- Modified: 2026-06-17T05:53:28.303Z
- Also known as: GHSA-282v-666c-3fvg, PYSEC-2023-299
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.

(As written by CVE List.)

## Affected

- huggingface huggingface/transformers: from unspecified before 4.30.0
- transformers (PyPI): before 4.30.0; before 80ca92470938bbcc348e2d9cf4734c7c25cb1c43
- huggingface transformers: before 4.30.0

## Every score

- @huntrdev: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a> (exploit, evidence, fix, patch, third-party-advisory, web)
- <https://github.com/huggingface/transformers/commit/80ca92470938bbcc348e2d9cf4734c7c25cb1c43> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2800> (advisory)
- <https://github.com/huggingface/transformers/pull/23372> (web)
- <https://github.com/huggingface/transformers> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-299.yaml> (web)
- <https://github.com/advisories/GHSA-282v-666c-3fvg> (advisory)

## Sources

- CVE List: [CVE-2023-2800](https://www.cve.org/CVERecord?id=CVE-2023-2800), CVE Terms of Use, modified 2025-01-21
- GitHub Advisory Database: [GHSA-282v-666c-3fvg](https://github.com/advisories/GHSA-282v-666c-3fvg), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2023-2800](https://nvd.nist.gov/vuln/detail/CVE-2023-2800), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-299](https://osv.dev/vulnerability/PYSEC-2023-299), CC-BY-4.0, modified 2026-06-10

---

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