Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rtk
  4. ›
  5. CVE-2026-45792

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

May 20, 2026

RTK (Rust Token Killer) improperly trusts project-local configuration files. In versions prior to 0.32.0, 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.

References

  • github.com/advisories/GHSA-fvvm-949w-qj4w
  • github.com/rtk-ai/rtk/pull/623
  • github.com/rtk-ai/rtk/pull/625
  • github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w
  • nvd.nist.gov/vuln/detail/CVE-2026-45792

Code Behaviors & Features

Detect and mitigate CVE-2026-45792 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.32.0

Fixed versions

  • 0.32.0

Solution

Upgrade to version 0.32.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-426: Untrusted Search Path

Source file

cargo/rtk/CVE-2026-45792.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 21 May 2026 12:18:28 +0000.