Low severity · published Jul 29, 2026
CVE-2026-62995
joserfc accepts JWT with padding, leading to JWT malleability
2.3
CVSS
0.1%
EPSS
No
On KEV
Description
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. in versions 1.7.1 and prior, joserfc accepts JWTs with trailing padding (==) which are not conforming to the JOSE specifications. This leads to malleability of the JWTs when consumed by joserfc. Depending on this application this might or not be an issue. This could lead to bypass of token revocation or anti-replay protection when implemented as a deny list of tokens or a deny list of token hashes. Note that ECDSA JWS are always malleable because of the malleability of ECDSA signatures (first test case in the code bellow). This makes a scheme which assumes that JWTs are not malleable brittle. However for other signatures (or MAC) schemes it might make sense to assume non malleability of the token. This issue has been fixed in version 1.7.2.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JO
joserfc · authlib
< 1.7.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-62995
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-62995
github.com
https://github.com/authlib/joserfc/security/advisories/GHSA-5jhw-7jv7-qcqq
More from joserfc
9.1
CVE-2026-102946
joserfc: JWS signature verification bypass via empty signatures array in jws.deserialize_json
8.7
CVE-2026-49852
joserfc: HS256/HS384/HS512 verify accepts empty/nil HMAC key (cross-language sibling of CVE-2026-45363)
7.5
CVE-2026-27932
joserfc PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS)
6.5
CVE-2026-75509
joserfc claim-validation bypass via array-typed single-string claims (iss/sub/jti)
5.3
CVE-2026-48990
joserfc: b64=false RFC7797 JWS payloads bypass JWSRegistry payload-size limits during deserialization
