CVE-2025-3757: Github.com/openpubkey/openpubkey Authentication Bypass Vulnerability
CRITICALCVE-2025-3757 is a CRITICAL authentication bypass vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Github.com/openpubkey/openpubkey libraries in the Go ecosystem. The issue involves openpubkey vulnerable to authentication bypass. Remediation is available by upgrading affected packages to version 0.10.0.
CVE-2025-3757 at a Glance
How to Fix CVE-2025-3757
To remediate this vulnerability, upgrade all affected Github.com/openpubkey/openpubkey dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openpubkey/openpubkey to 0.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openpubkey/openpubkey
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-3757, inspect your project dependencies for Github.com/openpubkey/openpubkey:
inspect dependencies for github.com/openpubkey/openpubkey
Analyze the terminal output to locate any version of Github.com/openpubkey/openpubkey in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. In Github.com/openpubkey/openpubkey, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-3757 Affected Github.com/openpubkey/openpubkey Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openpubkey/openpubkey
|
Go |
< 0.10.0
|
0.10.0
|
References
Frequently Asked Questions
What is CVE-2025-3757?
Which Github.com/openpubkey/openpubkey versions are affected?
What version fixes CVE-2025-3757?
Is github.com/openpubkey/openpubkey affected?
What CWE is associated with CVE-2025-3757?
How can I check Go dependencies for CVE-2025-3757?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-537f-gxgm-3jjq",
"modified" : "2025-05-13T21:34:03Z",
"published" : "2025-05-13T21:34:03Z",
"aliases" : [ "CVE-2025-3757" ],
"summary" : "OpenPubkey Vulnerable to Authentication Bypass",
"details" : "### Impact\n\nVersions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification.\n\n### Patches\n\nUpgrade to v0.10.0 or greater. This vulnerability is not present in versions of OpenPubkey after v0.9.0. \n\n### References\n\n[CVE-2025-3757 ](https://www.cve.org/CVERecord?id=CVE-2025-3757)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openpubkey/openpubkey"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openpubkey/openpubkey/security/advisories/GHSA-537f-gxgm-3jjq"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-3757"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openpubkey/openpubkey"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-305" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-13T21:34:03Z",
"nvd_published_at" : "2025-05-13T17:16:04Z"
}
}