Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.7
CVE-2023-2800: Transformers library can expose data via unsafe temp files
CVE-2023-2800 · published 3 years ago
Summary
The Hugging Face Transformers code created temporary files in a way that other programs on the same system could read them before they were deleted. This could allow sensitive data used by the library to be seen by unauthorized users. Update the library to version 4.30.0 or newer to fix the issue.
What to do
- Update the hugging face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors) transformers to version 4.30.0.
- Update huggingface transformers to version 4.30.0 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | the hugging face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors) | transformers |
< 4.30.0 Fix: upgrade to 4.30.0
|
| – | huggingface | transformers |
< 4.30.0 cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
Original advisory text
Insecure Temporary File in huggingface/transformers
Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.
References
- https://huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a URL
- https://github.com/huggingface/transformers/pull/23372
- https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-202...
- https://github.com/advisories/GHSA-282v-666c-3fvg
- https://nvd.nist.gov/vuln/detail/CVE-2023-2800 Vendor Advisory
- https://github.com/huggingface/transformers/commit/80ca92470938bbcc348e2d9cf4734... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2800.j... Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-377Insecure Temporary File
Timeline
Published18 May 2023
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta