cve.bz

CVE-2026-121478 Sequoia-sq: unescaped control characters in user ids enable terminal output spoofing

4.3 mediumFix available

Medium (4.3) in red hat. Fixed in sqz 0.2.0.

On this page
A flaw was found in sequoia-sq. This flaw allows an attacker to spoof signature verification results displayed in terminal output. Because control characters in user identifiers are not properly sanitized in human-readable output, an attacker can craft a user ID containing terminal control sequences that overwrite verification warnings with arbitrary text. While the underlying cryptographic verification logic operates correctly, users relying on the terminal output may be misled into trusting an unverified or invalid signature.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CWE
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • sqz (crates.io): fixed in 0.2.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-121478 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121478?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121478?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121478 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
RUSTSEC-2026-0616crates.iosqz>=0.0.0-0 <0.2.00.2.0

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because the flaw is confined to interactive terminal output rendering and does not bypass or compromise cryptographic signature validation logic or exit statuses. In typical Red Hat environments, automated verification pipelines relying on machine-readable formats or process return codes remain unaffected. Exploitation is restricted to social engineering scenarios where an administrator or user visually inspects untrusted OpenPGP key identities in an ANSI-compatible terminal emulator.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rust-sequoia-sqFix deferred
Red Hat Enterprise Linux 9rust-sequoia-sqFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121478.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON