python-jwt token forgery via compact/JSON parser differential
Two different JWT parsers disagree: the signature is verified over one serialization while the claims that get returned are read from another, so an attacker holding a single valid token forges arbitrary claims without the signing key.
- Product
- python-jwt
- Vendor
- davedoesdev (python-jwt)
- Affected
- < 3.3.4
- Fixed in
- 3.3.4
- Weakness
- CWE-290
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 23 Sep 2022
Classified as
References
Related CVEs
- CVE-2025-49706medium 6.52025
ToolShell: SharePoint Referer authentication bypass
A request module treats a Referer path matching a trusted sign-out page as sufficient to suppress an unauthenticated rejection, allowing ToolPane processing to begin before a later page-load check fails.
- CVE-2025-25291critical 9.82025
ruby-saml SAML authentication bypass via parser differential (sign in as anyone)
A signed-XML verifier parses the same document with two different XML parsers and splits its trust across both, so a DOCTYPE-wrapped response lets one parser validate the signature over legitimate content while another reads a forged assertion.
- CVE-2024-0012critical 9.82024
PAN-OS management-interface authentication bypass
A special Nginx location proxies requests without resetting an internal authentication header, allowing an external request to tell the PHP application that authentication checks are disabled.
- CVE-2024-1709critical 10.02024
ScreenConnect SlashAndGrab: setup-wizard auth bypass
An exact request-path check guarding the first-run setup wizard is defeated by a trailing URL segment, so an unauthenticated attacker re-opens setup on a configured server and creates an administrator.