PT-2026-161651

Published

2026-11-27

·

Updated

2026-11-27

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
RUSTSEC-2026-0617
Found an issue in the description? Have something to add? Feel free to write us 👾