# CVE-2026-44699: LibJWT: Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-327, CWE-347
- **Published:** 2026-05-15T16:08:34.405Z
- **Modified:** 2026-10-26T14:10:00.130Z

## Who should check

- Anyone running benmcollins libjwt \>= 3.0.0, \< 3.3.3

## Description

LibJWT is a C JSON Web Token Library. From 3.0.0 to 3.3.2, libjwt accepts an RSA JWK that does not contain an alg parameter as the verification key for an HS256/HS384/HS512 token. In the OpenSSL backend, this causes HMAC verification to run with a zero-length key, so an attacker can forge a valid JWT without knowing any secret or RSA private key. This is an algorithm-confusion authentication bypass. It affects applications that load RSA keys from JWKS where alg is omitted, which is valid JWK syntax and common in real deployments, and then choose the verification algorithm from the JWT header, for example in a kid lookup callback. This vulnerability is fixed in 3.3.3.

## Affected and fixed versions

- benmcollins libjwt: \>= 3.0.0, \< 3.3.3 (cvelist)

## Mitigation

- Upgrade libjwt to 3.3.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-44699. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-44699.md
Affected: benmcollins libjwt >= 3.0.0, < 3.3.3
Fixed in: benmcollins libjwt 3.3.3

Steps:
1. Search this machine and project for benmcollins libjwt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-44699 being exploited?

There is no confirmed exploitation: CVE-2026-44699 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-44699?

Critical: CVSS 9.1 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-44699?

benmcollins libjwt \>= 3.0.0, \< 3.3.3.

### Is there a fix for CVE-2026-44699?

Yes. Fixed in benmcollins libjwt 3.3.3. Upgrade libjwt to 3.3.3 or later.

### How do I check if I'm affected by CVE-2026-44699?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/benmcollins/libjwt/security/advisories/GHSA-q843-6q5f-w55g>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-44699>

HTML: <https://flawdb.com/CVE-2026-44699> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-44699>
