Path traversal in transformers - CVE-2026-75104
Published: November 2, 2026
Vulnerability details
The vulnerability allows a local user to read arbitrary files outside the model directory.
The vulnerability exists due to Hugging Face Transformers fails to validate shard filenames in checkpoint index files. A local user can supply malicious index files with parent-directory references or absolute paths that are joined without validation, enabling file disclosure and filesystem reconnaissance.
Affected software
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
How to mitigate CVE-2026-75104
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.4.0 Patch 8
External References
- https://github.com/huggingface/transformers
- https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py
- https://github.com/huggingface/transformers/issues/47176
- https://github.com/huggingface/transformers/issues/47177
- https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index