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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.08%, higher than 0% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-20T15:30:04.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-fvvm-949w-qj4w
- Weaknesses: CWE-345, CWE-426
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rtk-ai rtk: < 0.32.0; before 0.32.0
- rtk (crates.io): before 0.32.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/rtk-ai/rtk/pull/623> (exploit, issue-tracking, web)
- <https://github.com/rtk-ai/rtk/security/advisories/GHSA-fvvm-949w-qj4w> (patch, vendor-advisory, web)
- <https://github.com/rtk-ai/rtk/pull/625> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45792> (advisory)
- <https://github.com/rtk-ai/rtk> (package)

## Sources

- CVE List: [CVE-2026-45792](https://www.cve.org/CVERecord?id=CVE-2026-45792), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-fvvm-949w-qj4w](https://github.com/advisories/GHSA-fvvm-949w-qj4w), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-45792](https://nvd.nist.gov/vuln/detail/CVE-2026-45792), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-45792 · Whole record: https://cve.day/CVE-2026-45792.json · Rebuilt by cve.day 2026-11-25T22:59:25.526Z
