CVE-2026-126996
Deferred Deferred - Pending Action

Path Traversal in SakanaAI text-to-LoRA

Vulnerability report for CVE-2026-126996, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-12

Last updated on: 2026-11-12

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-12
Last Modified
2026-11-12
Generated
2026-11-12
AI Q&A
2026-11-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
SakanaAI text-to-LoRA 0.0.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in SakanaAI text-to-LoRA 0.0.1. The flaw exists in the get_tokenizer() function in src/hyper_llm_modulator/utils/model_loading.py. An attacker can manipulate the base_model_name_or_path argument in an untrusted adapter_config.json file to include path traversal sequences like ../../. This allows reading arbitrary files outside the intended directory, such as chat_template.jinja files. The issue is triggered when processing a malicious checkpoint via CLI scripts or web UI.

Detection Guidance

Check for suspicious file reads in the get_tokenizer function of src/hyper_llm_modulator/utils/model_loading.py. Look for path traversal patterns like ../../ in adapter_config.json files. Review logs for unauthorized access to chat_template.jinja files outside the chat_templates directory.

Impact Analysis

An attacker could read sensitive files on the system hosting the vulnerable SakanaAI text-to-LoRA instance. This includes configuration files or other data outside the intended directories. The attacker could also manipulate the chat template used by the tokenizer to arbitrary content, potentially affecting how the model processes prompts. No code execution is possible, limiting impact to local file access and template changes.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, which may violate GDPR's data protection principles or HIPAA's confidentiality requirements. If personal or health data is exposed due to the path traversal, organizations could face compliance violations, regulatory penalties, or reputational damage. The impact depends on the data accessible through the vulnerability.

Mitigation Strategies

Update to a patched version if available. Validate or normalize the base_model_name_or_path input in get_tokenizer to prevent path traversal. Restrict file system permissions to limit access to sensitive directories. Monitor for unusual file access patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126996. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...