CVE Catalog

CVE-2026-45792

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.08%

0th percentile — higher than 0% of all known CVEs

Summary

In RTK (Rust Token Killer) prior to version 0.32.0, a vulnerability was found due to improper trust of project-local configuration files. The tool 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 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.

Risk Assessment

The risk is that an attacker can hide malicious code in a repository by modifying command output shown to the LLM without the user's knowledge. This could lead to overlooking dangerous code changes during review or automated code generation, compromising the integrity of the development process.

Recommendation

Immediately update RTK to version 0.32.0 or later, which fixes this vulnerability. Additionally, verify .rtk/filters.toml files in repositories before use and consider disabling automatic project configuration loading if possible.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS