CVE-2026-49852
Last modified
CVE-2026-49852 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| authlib | joserfc | < 1.6.8 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49852?
How severe is CVE-2026-49852?
How do I fix CVE-2026-49852?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49843FreeSWITCH is a Software Defined Telecom Stack enabling the …5.3
- CVE-2026-49844Improper encoding of non-finite floating-point values during…5.9
- CVE-2026-49847FreeSWITCH is a Software Defined Telecom Stack enabling the …7.5
- CVE-2026-49848FreeSWITCH is a Software Defined Telecom Stack enabling the …4.3
- CVE-2026-4985A vulnerability was identified in dloebl CGIF up to 0.5.2. T…5.3
- CVE-2026-49851Mistune is a Python Markdown parser with renderers and plugi…8.7
- CVE-2026-49853Tornado is a Python web framework and asynchronous networkin…7.7
- CVE-2026-49854Tornado is a Python web framework and asynchronous networkin…5.3
- CVE-2026-49855Tornado is a Python web framework and asynchronous networkin…7.5
- CVE-2026-49858API Platform Core is a system to create hypermedia-driven RE…5.9
- CVE-2026-49859Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.2
- CVE-2026-4986The WPForms WordPress plugin before 1.10.0.5 does not verif…5.3
Are you affected by CVE-2026-49852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
