CVE-2026-126996 Details
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.
A path traversal vulnerability has been identified in SakanaAI's text-to-LoRA version 0.0.1. The issue arises in the 'get_tokenizer' function within 'src/hyper_llm_modulator/utils/model_loading.py', specifically in the Checkpoint Loading component. The vulnerability allows for arbitrary file reads by manipulating the 'base_model_name_or_path' argument, which is derived from an unvalidated JSON string in the 'adapter_config.json' of a downloaded Hugging Face model. This flaw can be exploited remotely, leading to unauthorized access to files outside the application's directory structure.
To address this vulnerability, it is recommended to validate or sanitize the 'base_model_name_or_path' values in the 'get_tokenizer' function before they are used to construct file paths. This could involve rejecting paths that contain directory traversal sequences or path separators, or normalizing the paths and ensuring they remain within the application's trusted directories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2026CISA-ADP
Assessed Nov 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/SakanaAI/text-to-lora/ | [email protected] | Vendor |
| https://github.com/SakanaAI/text-to-lora/issues/13 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/33599890/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-126996 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1040637 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/436295 | [email protected] | Permission Required |
| https://vuldb.com/vuln/436295/cti | [email protected] | Permission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SakanaAI text-to-LoRA | 0.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 16, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2026 | New CVE Received | [email protected] |
Volerion