CVE-2025-4658
CRITICAL 9.3CVSS 4.0OPKSSH Vulnerable to Authentication Bypass
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.
- Published
- 13 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cna@cloudflare.com
- NVD status
- Analyzed
- Weakness
- CWE-305CWE-347
- Also known as
- GHSA-56wx-66px-9j66GO-2025-3680
- Sources
- NVDJSONOSV GHSA-56wx-66px-9j66JSONOSV GO-2025-3680JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@cloudflare.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openpubkey | openpubkeycpe:2.3:a:openpubkey:openpubkey:*:*:*:*:*:*:*:* |
< 0.10.0 | 0.10.0 |
| NVD | openpubkey | opksshcpe:2.3:a:openpubkey:opkssh:*:*:*:*:*:*:*:* |
< 0.5.0 | 0.5.0 |
| OSV | Go | github.com/openpubkey/opkssh | < 0.5.0 | 0.5.0 |
References
- https://github.com/openpubkey/opkssh · Product, PACKAGE
- https://github.com/openpubkey/opkssh/security/advisories/GHSA-56wx-66px-9j66 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-4658 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2025)