CVE-2026-9856: A vulnerability in huggingface/transformers versions <=5.8.0.dev0 allows an attacker to perform arbitrary file writes vi
Summary
A vulnerability in Hugging Face Transformers (a library for working with AI models) versions 5.8.0 and earlier allows attackers to write files anywhere on a user's computer through path traversal (a technique where an attacker uses special characters like '../' to escape the intended directory). The flaw exists in the `save_pretrained()` methods, which don't properly validate dictionary keys before using them as filenames, allowing attackers to distribute malicious model configuration files that execute arbitrary writes when downloaded and saved by victims.
Vulnerability Details
EPSS: 0.0%
August 2, 2026
Classification
Taxonomy References
Affected Vendors
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-9856
First tracked: August 2, 2026 at 02:07 PM
Classified by LLM (prompt v3) · confidence: 95%