Home / authlib / joserfc / CVE-2026-49852
CVE-2026-49852: is it exploited, and which versions of authlib joserfc are affected and fixed?
CVE-2026-49852 is an authentication bypass (improper authentication) vulnerability in authlib joserfc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: joserfc before 1.6.8 (GitHub advisory GHSA-gg9x-qcx2-xmrh). Fixed in 1.6.8 (GitHub advisory GHSA-gg9x-qcx2-xmrh). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-49852?
joserfc: HS256/HS384/HS512 verify accepts empty/nil HMAC key (cross-language sibling of CVE-2026-45363)
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in version 1.6.8.
From the CVE record by GitHub_M, last updated July 20, 2026, 14:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| authlib | joserfc | < 1.6.8 |
As the CVE record by GitHub_M states it, last updated July 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | joserfc | < 1.6.8 | 1.6.8 | GHSA-gg9x-qcx2-xmrh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 2, 2026. Summary: joserfc: HS256/HS384/HS512 verify accepts empty/nil HMAC key (cross-language sibling of CVE-2026-45363).
How severe is CVE-2026-49852?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49852 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 20, 2026)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 8.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
- CWE-326 Inadequate Encryption Strength
- CWE-1391 Use of Weak Credentials
Where are the vendor advisories and references?
- https://github.com/authlib/joserfc/security/advisories/GHSA-gg9x-qcx2-xmrh x_refsource_CONFIRM
- https://github.com/authlib/joserfc/commit/86d00910b2b2d2d07503fee9b572906daefab7f1 x_refsource_MISC
- https://github.com/authlib/joserfc/releases/tag/1.6.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 1, 2026
- Published
- July 17, 2026, 19:14 UTC
- CVE record updated
- July 20, 2026, 14:58 UTC by GitHub_M
- NVD
- Deferred, last modified October 24, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect joserfc?
- Oct 29, 2026CVE-2026-119284 authlib joserfc: denial of service (uncontrolled resource consumption)
- Oct 29, 2026CVE-2026-119283 authlib joserfc: denial of service (uncontrolled resource consumption)
- Oct 15, 2026CVE-2026-102946 authlib joserfc: authentication bypass by spoofing
- Aug 24, 2026CVE-2026-75509 authlib joserfc: authentication bypass by spoofing
- Jul 29, 2026CVE-2026-62995 authlib joserfc: data authenticity not verified
- Jun 17, 2026CVE-2026-48990 authlib joserfc: denial of service (uncontrolled resource consumption)
- Mar 3, 2026CVE-2026-27932 authlib joserfc: denial of service (resources allocated without limits)
- Nov 18, 2025CVE-2025-65015 authlib joserfc: denial of service (resources allocated without limits)
Questions about CVE-2026-49852
Is CVE-2026-49852 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of authlib joserfc are affected by CVE-2026-49852?
joserfc before 1.6.8, per the GitHub advisory GHSA-gg9x-qcx2-xmrh. The tables above give every range the sources list.
Which version fixes CVE-2026-49852?
1.6.8, per the GitHub advisory GHSA-gg9x-qcx2-xmrh. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49852?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49852?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.