CVE-2026-45792 Details
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.
A vulnerability exists in RTK (Rust Token Killer) versions prior to 0.32.0, where the application improperly trusts project-local configuration files. RTK automatically loads '.rtk/filters.toml' from the working directory with the highest priority and without user notification. This behavior allows an attacker to place a malicious filter file in a repository, which can then be used to apply regex-based modifications to shell command output before it is presented to the LLM. The modification occurs without any indication that the output has been altered. As a result, attackers can selectively suppress or change command output, including file contents, diffs, and security scan results, potentially concealing malicious code during AI-assisted development or review.
Users can update to RTK version 0.32.0 or later, where this vulnerability has been fixed. In version 0.32.0, untrusted project filters are blocked by default, with a visible warning. Users can review and enable these filters by running the 'rtk trust' command. Additionally, a trust store has been implemented to manage filter trust explicitly.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rtk-ai/rtk/pull/623 | CISA-ADP | Issue Tracking |
| https://github.com/rtk-ai/rtk/pull/623 | [email protected] | Issue Tracking |
| https://github.com/rtk-ai/rtk/pull/625 | [email protected] | Issue Tracking |
| https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
| CWE-426 | Untrusted Search Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rtk-ai rtk | < 0.32.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 1, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2026 | New CVE Received | [email protected] |