5.5Medium

CVE-2026-75104Hugging Face Transformers Path Traversal via Checkpoint Index

huggingface transformers Published: (3 months ago)

Description

Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory. Attackers can supply malicious index files with parent-directory references or absolute paths that are joined without validation, enabling file disclosure and filesystem reconnaissance.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
huggingface transformers ≤ 5.15.0

References and patches