CVE-2026-126996 SakanaAI text-to-LoRA Checkpoint Loading model_loading.py get_tokenizer path traversal
A crafted model name can make text-to-LoRA load files outside the intended directory; users loading untrusted models should care.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-126996?
CVE-2026-126996 is a medium-severity path traversal vulnerability in SakanaAI text-to-LoRA, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability was determined in SakanaAI text-to-LoRA 0.0.1. Affected by this issue is the function get_tokenizer of the file src/hyper_llm_modulator/utils/model_loading.py of the component Checkpoint Loading. Executing a manipulation of the argument base_model_name_or_path can lead to path traversal. The attack may be launched remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Weakness: CWE-22
Which versions are affected by CVE-2026-126996?
An affected version is only exploitable if your software calls get_tokenizer. Many projects that include it are not exposed.
How do I fix CVE-2026-126996?
No fix has been published for CVE-2026-126996 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-126996 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-126996 exists.
Sources
Also known as GHSA-25cm-vgcw-2gfw.