CVE-2026-75509
Issuer‑validation bypass via array‑valued iss/sub claims in joserfc < 1.7.3.
- CVSS 6.5
- CWE-290
- Authentication, Authorization, and Session Management
- Remote
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to version 1.7.3, JWTClaimsRegistry applies membership matching to list-valued iss and sub claims, allowing an array-valued iss that contains the expected issuer to pass an intended equality check and enabling issuer-validation bypass. This issue is fixed in version 1.7.3.
- CWE
- CWE-290
- CVSS base score
- 6.5
- Published
- 2026-08-24
- OWASP
- A07 Identification and Authentication Failures
- Orthogonal defect classification
- Checking
- Code defect classification
- Incorrect Check
- Category
- Authentication, Authorization, and Session Management
- Subcategory
- Insecure Authentication Mechanisms
- Accessibility scope
- Remote
- Impact
- Unauthorized Access
- Affected component
- Python
- Fixed by upgrading
- Yes
Solution
Upgrade joserfc to version 1.7.3 or later.
Vulnerable code sample
from joserfc.jwt import JWTClaimsRegistry, decode
# VULNERABLE: iss claim list allows bypass via membership match
def verify(token: str, key: str) -> bool:
registry = JWTClaimsRegistry(iss=["trusted-issuer"])
try:
payload = decode(token, key, claims_registry=registry)
return payload is not None
except Exception:
return FalsePatched code sample
from joserfc.jwt import JWTClaimsRegistry, decode
# FIX: use exact string match for iss claim to prevent membership bypass
def verify(token: str, key: str) -> bool:
registry = JWTClaimsRegistry(iss="trusted-issuer")
try:
payload = decode(token, key, claims_registry=registry)
return payload is not None
except Exception:
return FalsePublished fix
Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.
- fix(jwt): add default claims validation for iss, sub and aud (authlib/joserfc)
src/joserfc/_rfc7519/claims.py
Cite this entry
@misc{vaitp:cve202675509,
title = {{Issuer‑validation bypass via array‑valued iss/sub claims in joserfc < 1.7.3.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-75509},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-75509/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
