What’s Vulnerable › Vulnerabilities
CVE-2026-45792: RTK improperly trusts project-local filter configuration, allowing silent tampering of command output shown to LLM
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-23 · updated 2026-10-25
- Weakness: CWE-345
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.
Affected products
- rtk-ai rtk: before 0.32.0 — fixed in 0.32.0
How to fix
Upgrade to a fixed version: rtk-ai rtk 0.32.0. Check the vendor advisory for mitigations.
References
- https://github.com/rtk-ai/rtk/pull/623
- https://github.com/rtk-ai/rtk/pull/625
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w
- https://github.com/rtk-ai/rtk/pull/623
Get alerted when CVE-2026-45792 or the next vulnerability affects your stack