CVE-2026-121478
Description
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.
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.
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.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.3 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | Required | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | Low | N/A | N/A |
| Availability Impact | None | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Understanding the Weakness (CWE)
Integrity
Technical Impact: Execute Unauthorized Code or Commands; Hide Activities; Unexpected State
ANSI escape codes can be used for low-severity attacks such as changing the color of console output, but they can also be used to arbitrarily move the cursor, clear the screen, and make fake prompts inside the interactive CLI via malicious user input. In some contexts - depending on the functionality of the terminal in use - ANSI escape codes can be used to execute arbitrary code.
Acknowledgements
Red Hat would like to thank M. Fauzan Wijaya (Gh05t666nero) and Samy Medjahed (Ap4sh) for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.