CVE-2025-3757: Github.com/openpubkey/openpubkey Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-537f-gxgm-3jjq
CWE-305
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-3757
GHSA Identifier GHSA-537f-gxgm-3jjq
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-305: Authentication Bypass by Primary Weakness
Affected Product Github.com/openpubkey/openpubkey
Package Ecosystem Go
Published Date
Last Updated

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.

github.com/openpubkey/openpubkey fixed: 0.10.0
Upgrade github.com/openpubkey/openpubkey to 0.10.0
Verify Direct and Transitive Dependencies

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

### Impact Versions of OpenPubkey library prior to 0.10.0 contained a vulnerability that would allow a specially crafted JWS to bypass signature verification. ### Patches Upgrade to v0.10.0 or greater. This vulnerability is not present in versions of OpenPubkey after v0.9.0. ### References [CVE-2025-3757 ](https://www.cve.org/CVERecord?id=CVE-2025-3757)

CVE-2025-3757 Affected Github.com/openpubkey/openpubkey Versions

1 component(s)
Fixed Versions:
0.10.0
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?
CVE-2025-3757 is a security vulnerability in Github.com/openpubkey/openpubkey involving OpenPubkey Vulnerable to Authentication Bypass under CWE-305: Authentication Bypass by Primary Weakness.
Which Github.com/openpubkey/openpubkey versions are affected?
Affected versions include releases prior to 0.10.0 across affected packages: github.com/openpubkey/openpubkey.
What version fixes CVE-2025-3757?
Upgrading to 0.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openpubkey/openpubkey affected?
Yes, github.com/openpubkey/openpubkey is affected in releases prior to 0.10.0. Upgrade your dependency to 0.10.0 or later.
What CWE is associated with CVE-2025-3757?
CVE-2025-3757 is classified under CWE-305: Authentication Bypass by Primary Weakness (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.).
How can I check Go dependencies for CVE-2025-3757?
Run the dependency tree command: 'inspect dependencies for github.com/openpubkey/openpubkey'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}