Skip to main content
Vulnerability Database/CVE-2026-113737

CVE-2026-113737: Jackrong LLM Finetuning Path Traversal

CVE-2026-113737 is a path traversal vulnerability in Jackrong LLM Finetuning Guide affecting the validate_indexed_tensors function. Attackers can manipulate weight_map arguments remotely to access unauthorized files.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-113737 Overview

CVE-2026-113737 is a path traversal vulnerability [CWE-22] in the R6410418 Jackrong-llm-finetuning-guide project, affecting commits up to ef2b17f2798cd18cd85375080c35a58397ad0d09. The flaw resides in the validate_indexed_tensors function within qwen-mtp-gguf/scripts/qwen_mtp_gguf_pipeline.py. Attackers can manipulate the weight_map argument to traverse directories outside the intended path. The project uses a rolling release model, so fixed version numbers are not published. A public proof-of-concept has been released, and the maintainers have not yet responded to the issue report.

Critical Impact

Remote attackers with low privileges can abuse the weight_map argument to access files outside the intended directory, with limited impact on confidentiality, integrity, and availability.

Affected Products

  • R6410418 Jackrong-llm-finetuning-guide (rolling release)
  • Affected file: qwen-mtp-gguf/scripts/qwen_mtp_gguf_pipeline.py
  • Affected function: validate_indexed_tensors

Discovery Timeline

  • 2026-10-21 - CVE-2026-113737 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-113737

Vulnerability Analysis

The vulnerability exists in the validate_indexed_tensors function used by the Qwen MTP GGUF pipeline. The function processes a weight_map structure that supplies file paths referencing tensor shards. Because the function does not canonicalize or constrain supplied paths, an attacker-controlled weight_map entry can include relative traversal sequences such as ../ to reference files outside the expected tensor directory. The result is unauthorized file access scoped to the process's runtime permissions. The vulnerability maps to [CWE-22] Improper Limitation of a Pathname to a Restricted Directory.

Root Cause

The root cause is missing path validation on user-controllable input. The validate_indexed_tensors function treats weight_map values as trusted filesystem references. It does not resolve absolute paths, enforce a base directory allowlist, or reject traversal metacharacters. Any workflow that accepts a weight_map from an untrusted source — such as a downloaded model configuration — inherits the flaw.

Attack Vector

Exploitation is network-reachable but requires user interaction and low-privileged context, typically through processing a malicious model configuration. An attacker crafts a weight_map object containing traversal sequences in file path entries. When the victim executes the pipeline against the attacker-supplied artifact, validate_indexed_tensors opens files outside the intended tensor directory. A public PoC archive is available via the PoC Zip File attached to GitHub Issue #15. The current EPSS probability is 0.267% (17.834 percentile), indicating low near-term exploitation likelihood.

No verified code examples are available. Refer to the VulDB CVE-2026-113737 entry and the published PoC for technical details.

Detection Methods for CVE-2026-113737

Indicators of Compromise

  • Presence of ../, absolute paths, or encoded traversal sequences inside weight_map entries parsed by the Qwen MTP GGUF pipeline
  • File access events from the Python pipeline process targeting paths outside the configured tensor working directory
  • Pipeline log entries from validate_indexed_tensors referencing files unrelated to the active model shard set

Detection Strategies

  • Instrument qwen_mtp_gguf_pipeline.py to log the resolved absolute path for every tensor file access and alert on resolutions outside the model root
  • Perform static review of all weight_map JSON inputs before pipeline execution, rejecting entries containing .., /, or \ separators
  • Monitor filesystem telemetry on hosts running the pipeline for cross-directory reads originating from the Python interpreter

Monitoring Recommendations

  • Enable auditd or equivalent kernel-level file access auditing on directories that host the finetuning pipeline
  • Record SHA-256 hashes of all downloaded model configurations and compare against trusted baselines
  • Alert on any read access by the pipeline user to sensitive paths such as /etc/, ~/.ssh/, or cloud credential stores

How to Mitigate CVE-2026-113737

Immediate Actions Required

  • Avoid executing the Qwen MTP GGUF pipeline against untrusted weight_map inputs until a fix is available
  • Run the pipeline in a sandboxed container with read-only mounts limited to the model directory
  • Review the GitHub Issue #15 tracker for maintainer updates

Patch Information

No vendor patch is currently available. The project uses a rolling release model and the maintainer has not responded to the disclosure. Monitor the GitHub Finetuning Guide repository for future commits that add path canonicalization to validate_indexed_tensors.

Workarounds

  • Patch validate_indexed_tensors locally to call os.path.realpath on each supplied path and reject results that fall outside the configured model root
  • Validate weight_map entries with a strict allowlist regex such as ^[A-Za-z0-9_.-]+\.(safetensors|bin|gguf)$ before passing them to the function
  • Execute the pipeline under a dedicated low-privilege user with no read access to secrets, SSH keys, or cloud credentials
  • Isolate pipeline execution within a container or chroot limited to the intended tensor directory
bash
# Configuration example: run pipeline in a restricted container
docker run --rm \
  --read-only \
  --user 10001:10001 \
  --cap-drop=ALL \
  --network=none \
  -v "$(pwd)/model_root:/models:ro" \
  -w /models \
  python:3.11-slim \
  python qwen_mtp_gguf_pipeline.py

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.