Security Resilience

CVE-2023-2800

Huggingface Transformers ≤ 4.30.0

Public PoC
Published
18 May 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 4.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0029 20th percentile
Risk Priority 37 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-2800 is a medium-severity Insecure Temporary File (CWE-377) vulnerability in Huggingface Transformers. Its CVSS base score is 4.7 (Medium).

Operationally, ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as NLP and Transformers.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

AI Security AnalysisAI

AI Category
NLP and Transformers
Risk Domain
N/A
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: huggingface, transformers

Related Threats

CVEs Like This One

CVE-2025-5197Same product: Huggingface Transformers
CVE-2024-11392Same product: Huggingface Transformers
CVE-2025-3262Same product: Huggingface Transformers
CVE-2025-14920Same product: Huggingface Transformers
CVE-2024-12720Same product: Huggingface Transformers
CVE-2025-14930Same product: Huggingface Transformers
CVE-2025-2099Same product: Huggingface Transformers
CVE-2023-6730Same product: Huggingface Transformers
CVE-2025-1194Same product: Huggingface Transformers
CVE-2025-6051Same product: Huggingface Transformers

Affected Assets

huggingface
transformers
≤ 4.30.0

Mitigating Controls

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

Secure development life cycle mandates secure handling of temporary files during design and coding.

blocks

A.8.26 only requires that security requirements (including resilience against injections or input validation) be identified and specified during development or acquisition; it does not itself enforce, implement or configure any mechanism that stops an insecure temporary file from being created or exploited.

blocks

Secure system architecture principles discourage insecure temporary-file patterns but do not directly address them.

prevents

Secure coding standards explicitly require safe temporary-file APIs and permissions.

finds

Security testing can detect insecure temporary files but does not prevent their creation.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-377, a class-level weakness. Rules are authored against its narrower children: CWE-379.

References