CVE-2026-9856

HIGHPre-NVD 7.17.1
EchelonGraph scoreHIGH confidence

Score 7.1 from GitHub Security Advisory (severity: HIGH) published 2026-08-02. a secondary CVSS source baseline 7.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this week
7.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.1Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal. The issue resides in the save_pretrained() methods of PreTrainedTokenizerBase and ProcessorMixin, where keys from the chat_template dictionary are used directly as filenames without proper validation. An attacker can exploit this by publishing a malicious Hugging Face Hub repository with a crafted tokenizer_config.json file. When a victim downloads and saves the tokenizer or processor, the attacker-controlled keys can escape the intended save directory, enabling arbitrary file writes with attacker-controlled content. This vulnerability affects multiple processors inheriting from ProcessorMixin, including Idefics, Florence, Gemma, Phi, and Qwen-VL.

CVSS v3
7.1
EG Score
7.1(high)
EG Risk
32(Track)
EG Risk 32/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity71% × 45%
Exploitation0% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
22%
KEV
Not listed

Published

August 2, 2026

Last Modified

August 3, 2026

Advisory Details (1)

Auto-updated Aug 2, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
github_commit

commit eaaaf8494dd5 (huggingface/transformers)

Fix landed in huggingface/transformers commit eaaaf8494dd5 — awaiting tagged release

https://github.com/huggingface/transformers/commit/eaaaf8494dd5386634ae37d1d122212fdc315be5

Vendor Advisories for CVE-2026-9856(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 28× in last 7d / 80× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-21 05:49 UTCEG score recompute
  2. 2026-08-21 05:49 UTCGHSA enrichment
  3. 2026-08-20 22:56 UTCEPSS rescore
  4. 2026-08-20 18:13 UTCGHSA enrichment
  5. 2026-08-20 06:37 UTCGHSA enrichment
  6. 2026-08-19 19:01 UTCEG score recompute
  7. 2026-08-19 19:01 UTCGHSA enrichment
  8. 2026-08-19 17:04 UTCEPSS rescore
  9. 2026-08-19 06:24 UTCGHSA enrichment
  10. 2026-08-18 18:21 UTCEG score recompute
  11. 2026-08-18 18:21 UTCGHSA enrichment
  12. 2026-08-18 13:49 UTCEPSS rescore
  13. 2026-08-18 04:58 UTCGHSA enrichment
  14. 2026-08-17 17:23 UTCEG score recompute
  15. 2026-08-17 17:22 UTCGHSA enrichment
  16. 2026-08-17 13:47 UTCEPSS rescore
  17. 2026-08-17 05:46 UTCGHSA enrichment
  18. 2026-08-16 17:47 UTCEG score recompute
  19. 2026-08-16 17:47 UTCGHSA enrichment
  20. 2026-08-16 14:56 UTCEPSS rescore
  21. 2026-08-16 06:11 UTCEG score recompute
  22. 2026-08-16 06:11 UTCGHSA enrichment
  23. 2026-08-16 02:15 UTCEPSS rescore
  24. 2026-08-15 18:35 UTCGHSA enrichment
  25. 2026-08-15 06:59 UTCEG score recompute
Show 55 more
  1. 2026-08-15 06:59 UTCGHSA enrichment
  2. 2026-08-15 01:31 UTCEPSS rescore
  3. 2026-08-14 19:22 UTCGHSA enrichment
  4. 2026-08-14 07:46 UTCEG score recompute
  5. 2026-08-14 07:46 UTCGHSA enrichment
  6. 2026-08-13 22:00 UTCEPSS rescore
  7. 2026-08-13 20:10 UTCGHSA enrichment
  8. 2026-08-13 08:34 UTCGHSA enrichment
  9. 2026-08-12 20:59 UTCEG score recompute
  10. 2026-08-12 20:59 UTCGHSA enrichment
  11. 2026-08-12 13:51 UTCEPSS rescore
  12. 2026-08-12 09:23 UTCGHSA enrichment
  13. 2026-08-11 21:47 UTCEG score recompute
  14. 2026-08-11 21:47 UTCGHSA enrichment
  15. 2026-08-11 13:43 UTCEPSS rescore
  16. 2026-08-11 10:10 UTCEG score recompute
  17. 2026-08-11 10:10 UTCGHSA enrichment
  18. 2026-08-11 00:00 UTCEPSS rescore
  19. 2026-08-10 22:34 UTCGHSA enrichment
  20. 2026-08-10 10:58 UTCGHSA enrichment
  21. 2026-08-09 23:21 UTCEG score recompute
  22. 2026-08-09 23:21 UTCGHSA enrichment
  23. 2026-08-09 13:47 UTCEPSS rescore
  24. 2026-08-09 11:46 UTCGHSA enrichment
  25. 2026-08-09 00:10 UTCEG score recompute
  26. 2026-08-09 00:10 UTCGHSA enrichment
  27. 2026-08-08 16:37 UTCEPSS rescore
  28. 2026-08-08 12:34 UTCGHSA enrichment
  29. 2026-08-08 00:58 UTCEG score recompute
  30. 2026-08-08 00:58 UTCGHSA enrichment
  31. 2026-08-07 16:30 UTCEPSS rescore
  32. 2026-08-07 13:22 UTCGHSA enrichment
  33. 2026-08-07 01:46 UTCGHSA enrichment
  34. 2026-08-06 14:11 UTCEG score recompute
  35. 2026-08-06 14:11 UTCGHSA enrichment
  36. 2026-08-06 13:47 UTCEPSS rescore
  37. 2026-08-06 02:35 UTCEG score recompute
  38. 2026-08-06 02:35 UTCGHSA enrichment
  39. 2026-08-05 19:17 UTCEPSS rescore
  40. 2026-08-05 14:59 UTCGHSA enrichment
  41. 2026-08-05 03:23 UTCGHSA enrichment
  42. 2026-08-04 15:47 UTCEG score recompute
  43. 2026-08-04 15:47 UTCGHSA enrichment
  44. 2026-08-04 15:10 UTCEPSS rescore
  45. 2026-08-04 10:39 UTCEPSS rescore
  46. 2026-08-04 04:12 UTCGHSA enrichment
  47. 2026-08-03 16:36 UTCEG score recompute
  48. 2026-08-03 16:36 UTCGHSA enrichment
  49. 2026-08-03 15:28 UTCEG score recompute
  50. 2026-08-03 15:28 UTCGHSA enrichment
  51. 2026-08-03 03:56 UTCEG score recompute
  52. 2026-08-03 03:56 UTCGHSA enrichment
  53. 2026-08-02 16:21 UTCEG score recompute
  54. 2026-08-02 15:38 UTCEG score recompute
  55. 2026-08-02 15:38 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-9856?
CVE-2026-9856 is a high vulnerability published on August 2, 2026. A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes via path traversal. The issue resides in the savepretrained() methods of PreTrainedTokenizerBase and ProcessorMixin, where keys from the chattemplate dictionary are used directly as…
When was CVE-2026-9856 disclosed?
CVE-2026-9856 was first published in the National Vulnerability Database on August 2, 2026, with the most recent update on August 3, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-9856 actively exploited?
CVE-2026-9856 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 77.8% of all scored CVEs.
What is the CVSS score of CVE-2026-9856?
CVE-2026-9856 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2026-9856?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-9856, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-9856

Explore →

Is Your Infrastructure Affected by CVE-2026-9856?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.