CVE-2026-45792

MEDIUM

RTK improperly trusts project-local filter configuration, allowing silent tampering of command output shown to LLM

Title source: cna
STIX 2.1

Description

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.

References (3)

Core 3
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/rtk-ai/rtk/pull/623
X_Refsource_Misc x_refsource_misc
https://github.com/rtk-ai/rtk/pull/625

Scores

CVSS v3 5.5
EPSS 0.0008
EPSS Percentile 0.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-345 CWE-426
Status published
Products (2)
crates.io/rtk 0 - 0.32.0crates.io
rtk-ai/rtk < 0.32.0 (2 CPE variants)
Published Jun 23, 2026
Tracked Since Jun 24, 2026