Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish crafted model checkpoint
-
ExploitVictim loads model via R-KV loader
-
ExecutionMalicious weight_map escapes model directory
-
Impactload_weights reads attacker-chosen files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim to load an attacker-controlled or tampered model directory through R-KV's FlashInfer weight loader, where the model.safetensors.index.json index supplies a weight_map whose shard entries are not bare file names - i.e. values containing '../', a subdirectory, or an absolute path. The exact trigger is the untrusted weight_map argument to _shard_files. Limiting factors: user interaction is required (UI:P) to load the malicious checkpoint, impacts are only Low confidentiality/integrity/availability with no privilege escalation or scope change, and the affected code path is a niche research LLM library, so there is no exposure against a default network service. |
| Impact | This is a low-priority issue despite being remotely reachable. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) scores only 2.1, and the vuln.today decision label is 'monitor' - not act_now or emergency. The key limiting signal is UI:P: exploitation is not autonomous network attack but depends on a victim loading an attacker-supplied model checkpoint through the R-KV FlashInfer loader. Impacts are all Low (VC:L/VI:L/VA:L) with no scope change, consistent with a path-traversal read/redirect in a weight loader rather than code execution. Exploitation status is best described as: a public PoC reference exists (poc.zip linked from the GitHub issue) but it is not verified as working exploit code, and there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or widespread exploitation. The vendor patch is confirmed to exist. Net: real but minor - a defense-in-depth fix for a research-grade LLM library, not an urgent enterprise exposure. |
| Exploit ScenarioDerived | An attacker publishes a malicious model checkpoint (or tampers with one) whose model.safetensors.index.json weight_map contains non-bare shard names such as '../x.safetensors' or an absolute path. When a victim loads that checkpoint via R-KV's FlashInfer loader, _shard_files joins the untrusted name to the model path and load_weights reads tensors from outside the intended model directory. A public PoC reference (poc.zip) is linked to the vulnerability, but it is not verified as working exploit code; AV:N/AC:L make the trigger easy once the victim is induced (UI:P) to load the crafted model. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Path traversal in the FlashInfer weight loader of Zefan-Cai R-KV (through commit 6715468b9872442be72e5c97322e4d9c9a2abf55) lets a tampered checkpoint index steer tensor loading outside the model directory. The flaw is reachable remotely but requires the victim to load an attacker-controlled or modified model directory (user interaction), and the resulting impact is limited to Low confidentiality, integrity and availability with no scope change. Upstream fixed the shard-name handling in commit 0fdff6ed12b58ad4c33aab5a63f66e04555cafb6; a public PoC reference exists, but it is not verified as working exploit code, and vuln.today rates the item as monitor priority.
RemediationAI
Update to R-KV commit 0fdff6ed12b58ad4c33aab5a63f66e04555cafb6 or any later commit (https://github.com/Zefan-Cai/R-KV/commit/0fdff6ed12b58ad4c33aab5a63f66e04555cafb6, merged via https://github.com/Zefan-Cai/R-KV/pull/66); because the project uses rolling releases, no tagged version number exists, so remediation means moving the pinned commit forward and re-running FlashInfer/tests/test_loader.py to confirm the shard-name validation is present. If the commit cannot be adopted immediately, add a pre-load validation step that parses model.safetensors.index.json and rejects any weight_map entry that is not a bare file name - not '', '.', '..', containing a path separator, or an absolute path - before calling load_weights; the trade-off is that this guard must be maintained out-of-tree and will also block legitimate checkpoints that encode shards in subdirectories. As a complementary measure, only load checkpoints from sources you control or have verified, since exploitation requires the victim to open a crafted model directory. The vendor was contacted early and responded promptly with the fixed commit; details are tracked at https://vuldb.com/vuln/442892 and https://github.com/Zefan-Cai/R-KV/issues/65.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
R-KV is a research LLM weight/loader component that reads Hugging Face-style safetensors checkpoints. In FlashInfer/rkv/loader.py, the function _shard_files opens model.safetensors.index.json and builds the shard list directly from the untrusted weight_map values via os.path.join(model_path, shard). Because the entries were never validated, a shard value containing '../', a nested subdirectory, an absolute path, or a non-string type could resolve to a file outside the intended model directory, and load_weights would then read tensors from it. This is CWE-22 (path traversal). The fix commit replaces the one-line set comprehension with a lexical check that each shard entry is a string, is not '', '.', or '..', and satisfies os.path.basename(shard) == shard, raising ValueError otherwise. The check was deliberately kept lexical rather than realpath/resolve-based because Hugging Face hub caches store snapshots/<rev>/*.safetensors as symlinks to ../../blobs/<sha>, which a resolve()-based containment test would wrongly reject; the accompanying FlashInfer/tests/test_loader.py pins that behaviour. Per the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L), exploitation needs the victim to load a crafted model directory and the trigger is the untrusted weight_map argument to _shard_files.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Attacker supplies a model over the network (AV:N) but a user must load the malicious checkpoint (UI:R); no attacker privileges (PR:N); traversal only redirects/reads weight files, giving limited C/I/A.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was determined in Zefan-Cai R-KV up to 6715468b9872442be72e5c97322e4d9c9a2abf55. This impacts the function _shard_files of the file FlashInfer/rkv/loader.py of the component FlashInfer weight loader. This manipulation of the argument weight_map causes path traversal. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. Patch name: 0fdff6ed12b58ad4c33aab5a63f66e04555cafb6. To fix this issue, it is recommended to deploy a patch. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-134821
GHSA-88vx-hj84-4m4r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB