CVE-2025-4658
Authentication Bypass in OPKSSH
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.3
Authentication Bypass in OPKSSH
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.
- Record
CVE-2025-4658- CVSS 4.0
- 9.3 Critical
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 - Weakness
- CWE-305
- Updated
- 2026-11-02
EUVDEUVD-2025-14477
9.3
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.
- Record
EUVD-2025-14477- CVSS 4.0
- 9.3 Critical
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-56wx-66px-9j66
9.3
OPKSSH Vulnerable to Authentication Bypass
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:
opkssh --version
If the version is less than 0.5.0 you should upgrade. To upgrade to the latest version run:
wget -qO- "https://raw.githubusercontent.com/openpubkey/opkssh/main/scripts/install-linux.sh" | sudo bash
References
The upstream vulnerability in OpenPubkey is CVE-2025-3757 and has the security advisory https://github.com/openpubkey/openpubkey/security/advisories/GHSA-537f-gxgm-3jjq
- Record
GHSA-56wx-66px-9j66- CVSS 4.0
- 9.3 Critical
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 - Weakness
- CWE-305
- Updated
- 2026-11-02
NVD
9.3
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.
- Record
CVE-2025-4658- CVSS 4.0
- 9.3 Critical
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 - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-305, CWE-347
- Updated
- 2026-11-02
OSV
9.3
Authentication Bypass in OPKSSH
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.
- Record
CVE-2025-4658- CVSS 4.0
- 9.3 Critical
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 - Weakness
- CWE-305
- Updated
- 2026-11-02
OSVGHSA-56wx-66px-9j66
9.3
OPKSSH Vulnerable to Authentication Bypass
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:
opkssh --version
If the version is less than 0.5.0 you should upgrade. To upgrade to the latest version run:
wget -qO- "https://raw.githubusercontent.com/openpubkey/opkssh/main/scripts/install-linux.sh" | sudo bash
References
The upstream vulnerability in OpenPubkey is CVE-2025-3757 and has the security advisory https://github.com/openpubkey/openpubkey/security/advisories/GHSA-537f-gxgm-3jjq
- Record
GHSA-56wx-66px-9j66- CVSS 4.0
- 9.3 Critical
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 - Weakness
- CWE-305
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-4658
9.3
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.
- Record
UBUNTU-CVE-2025-4658- CVSS 4.0
- 9.3 Critical
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 - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGO-2025-3680 No score
OPKSSH Vulnerable to Authentication Bypass in github.com/openpubkey/opkssh
OPKSSH Vulnerable to Authentication Bypass in github.com/openpubkey/opkssh
- Record
GO-2025-3680- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15135-1 No score
govulncheck-vulndb-0.0.20250515T200012-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250515T200012-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15135-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/openpubkey/opksshGo |
before 0.5.0 | 0.5.0 |
opksshUbuntu:25.10 |
All versions, plus listed versions 0.4.0-1 |
None known |
opksshUbuntu:26.10 |
All versions, plus listed versions 0.10.0-30.14.0-20.16.0-1 |
None known |
opksshUbuntu:Pro:26.04:LTS |
All versions, plus listed versions 0.4.0-10.8.0-20.10.0-10.10.0-30.10.0-3ubuntu0.1~esm10.10.0-3ubuntu0.10.10.0-3ubuntu0.1+esm1 |
None known |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 0.0.20250515T200012-1.1 | 0.0.20250515T200012-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-4658 is a critical vulnerability (CVSS 9.3) in Openpubkey, published May 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in github.com/openpubkey/opkssh 0.5.0.
References
github.com/openpubkey/opkssh
github.com/openpubkey/opkssh/security/advisories/GHSA-56wx-66px-9j66
nvd.nist.gov/vuln/detail/CVE-2025-4658
github.com/advisories/GHSA-56wx-66px-9j66
github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4658.json
ubuntu.com/security/CVE-2025-4658
Show 13 moreShow less
cve.org/CVERecord?id=CVE-2025-4658
lists.opensuse.org/archives/list/[email protected]/thread/QOPKRPL75SZMLT3YSQAZEDWH7RBRXGJK
suse.com/security/cve/CVE-2024-52290
suse.com/security/cve/CVE-2024-8063
suse.com/security/cve/CVE-2025-3757
suse.com/security/cve/CVE-2025-3931
suse.com/security/cve/CVE-2025-4432
suse.com/security/cve/CVE-2025-46331
suse.com/security/cve/CVE-2025-4658
suse.com/security/cve/CVE-2025-46721
suse.com/security/cve/CVE-2025-46735
suse.com/security/cve/CVE-2025-46815
suse.com/security/cve/CVE-2025-46816