Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The transformers package is vulnerable in versions before 5.10.0. The save_pretrained() methods of the tokenizer and processor base classes use keys from a chat_template dictionary directly as filenames without validation, so a crafted tokenizer_config.json from a malicious Hugging Face Hub repository can cause arbitrary file writes outside the save directory when a victim downloads and saves that tokenizer or processor. Upgrade to transformers 5.10.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.0046, the 40th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:10 UTC First seen by agentprime
- 31 Oct 2026, 14:10 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-xrqw-3rrv-vx5w
- OSV: GHSA-xrqw-3rrv-vx5w
- nvd.nist.gov/vuln/detail/CVE-2026-9856
- github.com/huggingface/transformers/pull/46191
- github.com/huggingface/transformers/commit/eaaaf8494dd5386634ae37d1d122212fdc315be5
- github.com/huggingface/transformers
- huntr.com/bounties/362824d5-fe18-40e8-a6cf-62277f97a170