CVE-2026-25537

Source
https://cve.org/CVERecord?id=CVE-2026-25537
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25537.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25537
Aliases
Downstream
Related
Published
2026-02-04T21:31:53.511Z
Modified
2026-02-13T07:35:56.405133Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
jsonwebtoken has Type Confusion that leads to potential authorization bypass
Details

jsonwebtoken is a JWT lib in rust. Prior to version 10.3.0, there is a Type Confusion vulnerability in jsonwebtoken, specifically, in its claim validation logic. When a standard claim (such as nbf or exp) is provided with an incorrect JSON type (Like a String instead of a Number), the library’s internal parsing mechanism marks the claim as “FailedToParse”. Crucially, the validation logic treats this “FailedToParse” state identically to “NotPresent”. This means that if a check is enabled (like: validatenbf = true), but the claim is not explicitly marked as required in requiredspec_claims, the library will skip the validation check entirely for the malformed claim, treating it as if it were not there. This allows attackers to bypass critical time-based security restrictions (like “Not Before” checks) and commit potential authentication and authorization bypasses. This issue has been patched in version 10.3.0.

Database specific
{
    "cwe_ids": [
        "CWE-843"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25537.json"
}
References

Affected packages

Git / github.com/keats/jsonwebtoken

Affected ranges

Type
GIT
Repo
https://github.com/keats/jsonwebtoken
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v10.*
v10.0.0
v10.1.0
v10.2.0
v2.*
v2.0.0
v7.*
v7.0.1
v7.1.1
v7.1.2
v7.2.0
v8.*
v8.0.0
v8.0.1
v8.1.0
v8.1.1
v8.2.0
v8.3.0
v9.*
v9.0.0
v9.1.0
v9.2.0
v9.3.0
v9.3.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25537.json"