Improper quoting of command arguments in hints enables command injection
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
sq emits hints, which can include a suggested command that the user can run. Some hints are derived from the input and thus can partially be influenced by an attacker. Because the quoting was not careful enough, it was possible to craft a user ID that would be used in the command and when the hint is copy and pasted would execute arbitrary commands. Consider the user ID $(touch /tmp/pwned). If the corresponding certificate is not considered authenticated and the user runs sq verify on a message signed by that certificate, sq would show:
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.2.0Semantic versions | 0.2.0 |
Version evidence: OSV · RUSTSEC-2026-0617
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
sq emits hints, which can include a suggested command that the user can run.
Some hints are derived from the input and thus can partially be influenced by an
attacker. Because the quoting was not careful enough, it was possible to craft
a user ID that would be used in the command and when the hint is copy and pasted
would execute arbitrary commands. Consider the user ID $(touch /tmp/pwned).
If the corresponding certificate is not considered authenticated and the user
runs sq verify on a message signed by that certificate, sq would show:
Hint: After checking that FINGERPRINT belongs to $(touch /tmp/pwned),
you can mark it as authenticated using:
$ sq pki link add --cert=FINGERPRINT --userid="$(touch /tmp/pwned)"
If the user copy and pasted the command, then most shells would create the file
/tmp/pwned.
This was fixed by improving the argument quoting.
References
3 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
Unescaped control characters in user IDs enable terminal output spoofing
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.
Recorded fixes — sqz: 0.2.0. Check your release branch.
Exploitation not established
Argon2 string-to-key parameters are not limited by StandardPolicy
An attacker can trigger a denial of service using Argon2. Protect against this by extending the Policy trait to check S2K objects. Change the StandardPolicy to reject unreasonable Argon parameter sets by default.
Recorded fixes — sequoia-openpgp: 2.5.0; sqz: 0.2.0. Check your release branch.
Exploitation not established