CVE-2026-126995 Details
Description
A vulnerability was found in tjake Jlama up to 0.8.4/0.9.0-beta. Affected by this vulnerability is the function SafeTensorIndex.loadWeights of the file jlama-core/src/main/java/com/github/tjake/jlama/safetensors/SafeTensorIndex.java. Performing a manipulation of the argument weight_map results in path traversal. The attack may be initiated remotely. The exploit has been made public and could be used. 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 tjake Jlama versions through 0.8.4 and 0.9.0-beta. The issue arises in the SafeTensorIndex.loadWeights function, where the weight_map values from the model's index file are used as path fragments without proper validation. This flaw allows an attacker to manipulate the weight_map entry to load tensors from outside the model package directory, potentially leading to unauthorized access to external files. The vulnerability can be exploited remotely, and the details have been made public.
To address this vulnerability, the weight_map entries should be normalized and checked to ensure they remain within the model package directory before loading. This can be implemented by modifying the SafeTensorIndex.loadWeights function to reject any entries that escape the model directory or use absolute paths.
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 13, 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/tjake/Jlama/ | [email protected] | ProductSource CodeVendor |
| https://github.com/tjake/Jlama/issues/211 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/33599742/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-126995 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1040636 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/436294 | [email protected] | AdvisoryContent Wall |
| https://vuldb.com/vuln/436294/cti | [email protected] | AdvisoryContent Wall |
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 |
|---|---|
| tjake Jlama | <= 0.8.4 (semver) <= 0.9.0-beta (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2026 | New CVE Received | [email protected] |
Volerion