RTK improperly trusts project-local filter configuration, allowing silent tampering of command output shown to LLM
Published Jun 23, 2026
6.9
MEDIUMCVSS 4.0
EPSS 0.11%
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
-
Affected
- < 0.32.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38572 Advisory
- https://github.com/advisories/GHSA-fvvm-949w-qj4w Advisory
- https://github.com/rtk-ai/rtk/pull/623 exploitx_refsource_MISCIssue Tracking
- https://github.com/rtk-ai/rtk/pull/625 x_refsource_MISCIssue Tracking
- https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w x_refsource_CONFIRMPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-45792
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38572 | Advisory | |
| https://github.com/advisories/GHSA-fvvm-949w-qj4w | Advisory | |
| https://github.com/rtk-ai/rtk/pull/623 | exploitx_refsource_MISCIssue Tracking | |
| https://github.com/rtk-ai/rtk/pull/625 | x_refsource_MISCIssue Tracking | |
| https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w | x_refsource_CONFIRMPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-45792 |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub