OPKSSH Vulnerable to Authentication Bypass
Critical severity
GitHub Reviewed
Published
May 13, 2025
in
openpubkey/opkssh
•
Updated May 13, 2025
Description
Published by the National Vulnerability Database
May 13, 2025
Published to the GitHub Advisory Database
May 13, 2025
Reviewed
May 13, 2025
Last updated
May 13, 2025
Impact
Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification. As OPKSSH depends on the OpenPubkey library for authentication, this vulnerability in OpenPubkey also applies to OPKSSH versions prior to 0.5.0 and would allow an attacker to bypass OPKSSH authentication.
Patches
The vulnerability does not exist in more recent versions of OPKSSH. his only impacts OPKSSH when used to verify ssh keys on a server, the OPKSSH client is unaffected. To remediate upgrade to a version of OPKSSH v0.5.0 or greater.
To determine if you are vulnerable run on your server:
If the version is less than 0.5.0 you should upgrade. To upgrade to the latest version run:
References
CVE-2025-4658
The upstream vulnerability in OpenPubkey is CVE-2025-3757 and has the security advisory GHSA-537f-gxgm-3jjq
References