CVE-2026-121478: Unescaped control characters in user IDs enable terminal output spoofing

Published Nov 27, 2026
·
Updated

We were not always careful to ensure that control characters in e.g. user IDs, were escaped. For instance, sq verify did not correctly sanitize the signer's user ID. An attacker could use this to embed ANSI cursor movement sequences in a user ID to overwrite a verification warning with fake "Fully authenticated" text thereby spoofing the signature verification result.

Note: this attack can be used to modify the human readable output; it cannot be used to influence the control plane, like in the sigspoof attacks.

<https://en.wikipedia.org/wiki/SigSpoof>

This has been fixed by upgrading to the latest version of sequoia-openpgp, whose implementations of Display and Debug for UserID (as well as other data structures) escape any control characters.

Affected Software

1 affected componentFixes available
rust/sqz>=0.0.0-0<0.2.0
0.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/sqz to a version that resolves this vulnerability.

    Fixed in 0.2.0

Event History

Nov 27, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs to provide or cause a signer User ID containing ANSI control sequences to be displayed by affected output, such as during `sq verify`. The sequences can alter what a person sees in the terminal, including overwriting a verification warning with misleading text.

2

Can this vulnerability bypass signature verification or affect automated processing?

No. The issue only modifies human-readable terminal output and cannot influence the control plane or produce the sigspoof-style effects described in the advisory.

3

What mitigation is available?

Upgrade to the latest version of `sequoia-openpgp`. Its `Display` and `Debug` implementations escape control characters in `UserID` and other data structures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203