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-113743 Overview
CVE-2026-113743 is a path traversal vulnerability [CWE-22] in Tenstorrent tt-metal versions up to and including 0.80.0. The flaw resides in the load_hf_state_dict_filtered function within models/tt_transformers/tt/load_checkpoints.py. Attackers can manipulate the weight_map argument to reference files outside the intended checkpoint directory. A public exploit is available, and the attack can be initiated remotely with user interaction. Tenstorrent fixed the issue in version 0.81.0-dev20261016 via commit 4851ccf347f6903c3d819eed60705600386e52c3.
Critical Impact
A remote attacker who can supply or influence a checkpoint index file can cause tt-metal to read arbitrary files on the host filesystem, exposing low-impact confidentiality, integrity, and availability loss across the loader context.
Affected Products
- Tenstorrent tt-metal versions up to 0.80.0
- The models/tt_transformers/tt/load_checkpoints.py module
- The models/demos/llama3_70b_galaxy/tt/load_checkpoints.py loader used by Llama3 70B Galaxy demos
Discovery Timeline
- 2026-10-21 - CVE CVE-2026-113743 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-113743
Vulnerability Analysis
The vulnerability exists in the Hugging Face checkpoint loader shipped with tt-metal. When loading a local checkpoint, the loader reads model.safetensors.index.json and iterates over its weight_map dictionary. Each value in weight_map is treated as a shard filename and joined onto the checkpoint directory without validation. Because Hugging Face transformers.from_pretrained performs no boundary check on local directories, a crafted index file containing values such as ../../etc/passwd causes the loader to open files outside the intended root.
The practical consequence is arbitrary file read within the privileges of the Python process invoking tt-metal. In machine learning training and inference pipelines, this often means service accounts with access to model artifacts, API keys, and training data.
Root Cause
The root cause is missing path containment on untrusted filenames deserialized from model.safetensors.index.json. The code performs an os.path.join(ckpt_dir, filename) without verifying that the resolved path remains inside ckpt_dir. Relative traversal sequences inside weight_map entries therefore escape the checkpoint root.
Attack Vector
An attacker distributes or substitutes a malicious checkpoint directory containing a tampered model.safetensors.index.json. When a victim loads the checkpoint via load_hf_state_dict_filtered, the traversal payload resolves to files outside the directory. Exploitation requires user interaction to trigger the load but no authentication, and it operates over the network when checkpoints are retrieved from untrusted sources.
# Security patch - models/demos/llama3_70b_galaxy/tt/load_checkpoints.py
from concurrent.futures import ThreadPoolExecutor
def _checkpoint_file_path(ckpt_dir, filename):
"""Join a shard name read from the checkpoint index onto ckpt_dir, rejecting names that escape it.
The check is lexical (abspath, not realpath) on purpose: HF cache snapshots are symlinks into
../../blobs, so resolving links would reject every checkpoint loaded from the HF cache.
"""
root = os.path.abspath(ckpt_dir)
path = os.path.abspath(os.path.join(root, filename))
if path == root or os.path.commonpath([root, path]) != root:
raise ValueError(f"Checkpoint index entry {filename!r} resolves outside the checkpoint directory {ckpt_dir}")
return path
def check_checkpoint_index(ckpt_dir):
"""Raise ValueError if a local checkpoint's model.safetensors.index.json names a shard outside ckpt_dir."""
index_path = os.path.join(ckpt_dir, "model.safetensors.index.json")
if not os.path.isfile(index_path):
return
with open(index_path, "r") as f:
weight_map = json.load(f).get("weight_map", {})
for filename in set(weight_map.values()):
_checkpoint_file_path(ckpt_dir, filename)
Source: GitHub Commit 4851ccf
Detection Methods for CVE-2026-113743
Indicators of Compromise
- Entries in model.safetensors.index.json whose weight_map values contain ../, absolute paths, or references outside the checkpoint directory.
- Python open() calls originating from load_checkpoints.py that resolve to filesystem locations outside the expected model cache (for example /etc, /root, or user home directories).
- Unexpected ValueError exceptions referencing "resolves outside the checkpoint directory" after patching, indicating prior tampering attempts.
Detection Strategies
- Inspect checkpoint directories before loading and parse model.safetensors.index.json to confirm each weight_map value stays within the directory.
- Enable Python audit hooks (sys.addaudithook) to log open events during checkpoint loading and flag paths outside the model root.
- Compare installed tt-metal versions against the fixed release 0.81.0-dev20261016 across build pipelines and GPU hosts.
Monitoring Recommendations
- Alert on process executions of tt-metal loaders accessing files in sensitive directories such as /etc, /root/.ssh, or cloud credential paths.
- Track checkpoint provenance by recording source URLs and SHA256 hashes of model.safetensors.index.json files consumed by production jobs.
- Monitor outbound retrieval of checkpoints from untrusted Hugging Face repositories or mirrors.
How to Mitigate CVE-2026-113743
Immediate Actions Required
- Upgrade tt-metal to version 0.81.0-dev20261016 or later, which contains commit 4851ccf347f6903c3d819eed60705600386e52c3.
- Audit every local checkpoint directory in use and re-download from trusted sources if the weight_map cannot be verified.
- Restrict filesystem permissions of the service account running tt-metal to minimize what an arbitrary read can expose.
Patch Information
The fix is published in commit 4851ccf347f6903c3d819eed60705600386e52c3 and released in tt-metal v0.81.0-dev20261016. The patch introduces _checkpoint_file_path and check_checkpoint_index, which validate every entry in weight_map using os.path.abspath and os.path.commonpath before the shard is opened. Additional context is available in the GitHub Path Traversal Advisory, issue #59616, and pull request #60634.
Workarounds
- Pre-validate model.safetensors.index.json before invoking tt-metal loaders and reject any value containing .., absolute paths, or symlinks pointing outside the checkpoint root.
- Load checkpoints only from directories owned by the service account and sandbox the loader with filesystem namespaces or AppArmor/SELinux profiles.
- Disable loading of local checkpoints from world-writable or user-supplied paths until the upgrade is deployed.
# Upgrade tt-metal to the patched release
pip install --upgrade "tt-metal==0.81.0-dev20261016"
# Verify the fixed commit is present
python -c "import inspect, models.tt_transformers.tt.load_checkpoints as m; print('check_checkpoint_index' in dir(m))"
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

