CVE-2026-75104
JSON

6.8medium

Hugging Face Transformers Path Traversal via Checkpoint Index

Severity
6.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
huggingface transformersup to 5.15.0CVE List

All scores

VulnCheck6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Hugging Face Transformers falla al validar los nombres de archivo de fragmento en los archivos de índice de punto de control, permitiendo a los atacantes leer archivos arbitrarios fuera del directorio del modelo. Los atacantes pueden proporcionar archivos de índice maliciosos con referencias a directorios padre o rutas absolutas que se unen sin validación, habilitando la divulgación de archivos y el reconocimiento del sistema de archivos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-75104 changed 2026-09-24CVE Terms of Use
NVDCVE-2026-75104 changed 2026-10-23Public domain