{"items":[{"id":"NVI-00013801","kind":"vulnerability","title":"Transformers save_pretrained path traversal allows arbitrary file writes through chat template names","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-xrqw-3rrv-vx5w","CVE-2026-9856"],"plain_summary":"GitHub lists this reviewed advisory for transformers. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-067befcf048c48723e7114bb4f0f58bf"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-09-01T18:58:09.000Z","value":"7.1 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-067befcf048c48723e7114bb4f0f58bf"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-067befcf048c48723e7114bb4f0f58bf","url":"https://github.com/advisories/GHSA-xrqw-3rrv-vx5w","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-xrqw-3rrv-vx5w","publisher":"GitHub Advisory Database","observed_at":"2026-11-02T02:21:50.763Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-067befcf048c48723e7114bb4f0f58bf"],"technology":"transformers","known_exclusions":[],"conditions_summary":"A vulnerability in huggingface/transformers versions < 5.10.0 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.","public_affected_ranges":["< 5.10.0"]}],"null_published_at":"2026-11-02T10:00:37.152Z","source_updated_at":"2026-09-01T18:58:09.000Z","source_disclosed_at":"2026-08-02T18:30:20.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-02T02:21:50.763Z"}],"next_cursor":null,"snapshot_revision":"42594"}