Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-45792
VULNERABILITY

CVE-2026-45792

Common Vulnerabilities and Exposures record

MEDIUM

Summary

rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.32.0, RTK (Rust Token Killer) improperly trusts project-local configuration files. RTK automatically loads .rtk/filters.toml from the working directory with highest priority and without user notification. An attacker can place a malicious filter file in a repository to apply regex-based modifications (e.g., strip_lines_matching) to shell command output before it is shown to the LLM, without any indication that the output has been modified. This allows attackers to selectively suppress or alter command output (including file contents, diffs, and security scan results) without detection, potentially concealing malicious code during AI-assisted development or review. This vulnerability is fixed in 0.32.0.

Risk

CVSS
6.9
Severity
MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Jun 23, 2026 20:16
Modified
Oct 25, 2026 23:10
Last observed
Oct 25, 2026 20:01

CWE

CWE-345CWE-426

Affected product identifiers

cpe:2.3:a:rtk-ai:rtk:*:*:*:*:*:rust:*:*

References