RUSTSEC-2026-0616

Source
https://rustsec.org/advisories/RUSTSEC-2026-0616
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0616.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0616
Aliases
  • CVE-2026-121478
Published
2026-11-27T12:00:00Z
Modified
2026-11-29T16:00:03Z
Summary
Unescaped control characters in user IDs enable terminal output spoofing
Details

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.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / sqz

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.2.0

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [],
        "os":  []
    }
}

Database specific

categories
[
    "format-injection"
]
cvss
null
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0616.json"