CVE-2026-126995
Deferred Deferred - Pending Action

Path Traversal in Jlama SafeTensorIndex

Vulnerability report for CVE-2026-126995, 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 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.

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
tjake jlama to 0.9.0-beta (inc)

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 Jlama's SafeTensorIndex.loadWeights function. It allows attackers to manipulate the weight_map argument to access files outside the intended directory by using path traversal sequences like ../../. This could let them load arbitrary files as model weights, potentially replacing legitimate model data with malicious versions.

Detection Guidance

To detect this vulnerability, inspect Jlama model directories for suspicious model.safetensors.index.json files. Check for weight_map entries containing path traversal sequences like ../ or absolute paths. Use commands like find /path/to/models -name '*.json' -exec grep -l '../' {} \; to locate potentially malicious files.

Impact Analysis

If exploited, this vulnerability could lead to model integrity issues where attackers substitute valid model weights with poisoned data. This might cause incorrect AI responses, data leaks if sensitive files are accessed, or service disruptions if loading fails. The impact depends on how Jlama is used in your environment.

Mitigation Strategies

Immediately update Jlama to a patched version if available. If not, restrict file system permissions to prevent unauthorized access to model directories. Validate all weight_map paths in model.safetensors.index.json to ensure they resolve only within the intended directory. Monitor for unusual file access patterns or failed model loads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126995. 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...