CVE-2026-75104

medium

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.

References

https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index

https://github.com/huggingface/transformers/issues/47177

https://github.com/huggingface/transformers/issues/47176

https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py

https://github.com/huggingface/transformers

Details

Source: Mitre, NVD

Published: 2026-08-17

Updated: 2026-08-18

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Severity: Medium

CVSS v4

Base Score: 6.8

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Severity: Medium