HIGHPyPI →
Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
Transformers save_pretrained path traversal allows arbitrary file writes through chat template names
Affected packages
- transformers— before 5.10.0
Exploit signal
- Known exploited (CISA KEV)
- No
- EPSS score
- —
- EPSS percentile
- —
EPSS is the probability a CVE is exploited in the wild; percentile is its rank among all CVEs.
Sources
- https://nvd.nist.gov/vuln/detail/CVE-2026-9856
- https://github.com/huggingface/transformers/pull/46191
- https://github.com/huggingface/transformers/commit/eaaaf8494dd5386634ae37d1d122212fdc315be5
- https://github.com/huggingface/transformers
- https://huntr.com/bounties/362824d5-fe18-40e8-a6cf-62277f97a170
Structured record: https://osv.dev/vulnerability/GHSA-xrqw-3rrv-vx5w
Recommended response stack
Snyk — Scan your dependencies in CI and fix this vulnerability.→Socket — Detect malicious and compromised packages before they ship.→
Some links are affiliate links — HackTribune may earn a commission at no extra cost to you.
Get incidents like this as alerts for your stack.
Join the beta