# CVE-2026-25537: jsonwebtoken has Type Confusion that leads to potential authorization bypass

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-04 · Modified: 2026-02-05
- Aliases: UBUNTU-CVE-2026-25537, DEBIAN-CVE-2026-25537, CGA-3qff-h4hj-w62p, CGA-47m9-g8c4-vx6r, CGA-4qp9-22g4-v4g2, CGA-73f2-crh9-q3hr, CGA-8p8x-7hp5-p7rh, CGA-942r-c9vv-rqrv, CGA-97r9-q83g-q5h5, CGA-9p5r-g3gj-3fmh, CGA-cc94-9h9w-f2c9, CGA-f33h-mg46-57qq, CGA-fj34-8j6j-hf59, CGA-fwqr-qr5f-g8p3, CGA-g464-j8cx-9rp3, CGA-hf66-hjcc-9vx7, CGA-hp84-3q7p-h5rh, CGA-hpp7-7hrq-7gfr, CGA-j2m5-79cf-v375, CGA-jhm4-v33v-gp62, CGA-jw6f-w237-7329, CGA-m4w8-r45c-r968, CGA-qf76-rgq8-7w98, CGA-rg5m-q32x-wrvq, CGA-33v5-gh8r-282g, CGA-pchm-c4rp-hwfw, GHSA-h395-gr6q-cpjc, CGA-rvqj-9x9w-rv7m, CGA-v9j6-cwhw-jm4g, CGA-vwj8-w7r2-rqr9, CGA-w5xw-7fqv-p45r
- Record: https://cvemate.com/vulnerability/CVE-2026-25537 · JSON: https://cvemate.com/vulnerability/CVE-2026-25537/json

## Description

```text
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: validate_nbf = true), but the claim is not explicitly marked as required in required_spec_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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.496%, percentile 44.167%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 28)

- chainguard codex (Chainguard): \< 0.148.0-r1 \| \< 0.149.0-r0
- chainguard komodo-core (Chainguard): \< 2.0.0-r0
- chainguard lakekeeper (Chainguard): \< 0.12.1-r0
- chainguard lychee (Chainguard): \< 0.22.0-r4
- chainguard py3.10-hf-xet (Chainguard): \< 1.2.0-r5
- chainguard py3.11-hf-xet (Chainguard): \< 1.2.0-r5
- chainguard py3.12-hf-xet (Chainguard): \< 1.2.0-r5
- chainguard py3.13-hf-xet (Chainguard): \< 1.2.0-r5
- chainguard qdrant (Chainguard): \< 1.16.3-r4
- chainguard sccache (Chainguard): \< 0.18.0-r0
- chainguard uv (Chainguard): \< 0.10.2-r1
- chainguard wasmcloud (Chainguard): \< 2.0.1-r0
- chainguard zed (Chainguard): \< 0.223.3-r0
- wolfi codex (Wolfi): \< 0.148.0-r1 \| \< 0.149.0-r0
- wolfi lychee (Wolfi): \< 0.22.0-r4
- wolfi py3.10-hf-xet (Wolfi): \< 1.2.0-r5
- wolfi py3.11-hf-xet (Wolfi): \< 1.2.0-r5
- wolfi py3.12-hf-xet (Wolfi): \< 1.2.0-r5
- wolfi py3.13-hf-xet (Wolfi): \< 1.2.0-r5
- wolfi qdrant (Wolfi): \< 1.16.3-r4

## References

- <https://github.com/Keats/jsonwebtoken/security/advisories/GHSA-h395-gr6q-cpjc>
- <https://github.com/Keats/jsonwebtoken/commit/abbc3076742c4161347bc6b8bf4aa5eb86e1dc01>
- <https://ubuntu.com/security/CVE-2026-25537>
- <https://www.cve.org/CVERecord?id=CVE-2026-25537>
- <https://security-tracker.debian.org/tracker/CVE-2026-25537>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25537.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25537>
- <https://github.com/Keats/jsonwebtoken>

---

Data as of 2026-12-05T11:22:49.258Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
