# CVE-2026-121479: Sequoia-sq: improper quoting of command arguments in hints enables command injection

- Severity: Medium 6.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A: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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-27T12:00:00.000Z
- Modified: 2026-12-01T16:18:12.800Z
- Also known as: RUSTSEC-2026-0617
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in sequoia-sq. This vulnerability can lead to arbitrary code execution when the tool displays suggested command hints derived from untrusted inputs, such as user identities. Because command arguments are not properly quoted, an attacker can craft an input to inject arbitrary shell commands into the generated hint. If a user copies and executes the suggested command in a terminal, the injected commands will run on the local system.

(As written by CVE List.)

## Affected

- rust-sequoia-sq: no versions given
- sqz (crates.io): from 0.0.0-0 before 0.2.0

## References

- <https://access.redhat.com/security/cve/CVE-2026-121479> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2565810> (issue-tracking)
- <https://crates.io/crates/sqz> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0617.html> (advisory)
- <https://gitlab.com/sequoia-pgp/sequoia-sq/-/blob/sqz/v0.2.0/lib/NEWS> (web)

## Sources

- CVE List: [CVE-2026-121479](https://www.cve.org/CVERecord?id=CVE-2026-121479), CVE Terms of Use, modified 2026-12-01
- RustSec Advisory Database: [RUSTSEC-2026-0617](https://rustsec.org/advisories/RUSTSEC-2026-0617.html), CC0-1.0, modified 2026-11-29
- NVD: [CVE-2026-121479](https://nvd.nist.gov/vuln/detail/CVE-2026-121479), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-121479 · Whole record: https://cve.day/CVE-2026-121479.json · Rebuilt by cve.day 2026-12-01T16:32:12.686Z
