CVE-2026-13089

OIDC::Lite versions through 0.12.1 for Perl allow ID Token signature verification bypass via a token-controlled algorithm allowlist in verify. When the caller does not pin an algorithm, OIDC::Lite::Model::IDToken::verify sets $self->alg($self->header->{alg}) from the token's own header and then calls decode_jwt(token, key, 1, [$self->alg]), handing JSON::WebToken an accepted-algorithm allowlist taken from the untrusted token. A token with alg=none yields ['none'], so decode_jwt returns the claims with no signature check, and a token with alg=HS256 is verified with the RP's RSA public key as the HMAC secret (RS to HS confusion). The ID Token is the OpenID Connect authentication assertion delivered to the Relying Party. Any caller that verifies an ID Token through the unpinned load(token)->verify path, or load(token, key) with only the key pinned, accepts a forged token carrying attacker-chosen claims such as sub and is authenticated as any user. Passing an explicit algorithm so $self->alg is already set bypasses the header-derived allowlist and is not affected. Note that the latest version uploaded to CPAN is 0.10. Later versions are available in the git repository.
Configurations

No configuration.

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de OIDC::Lite hasta la 0.12.1 para Perl permiten eludir la verificación de la firma del ID Token mediante una lista blanca de algoritmos controlada por el token en verify. Cuando el llamador no fija un algoritmo, OIDC::Lite::Model::IDToken::verify establece $self -> alg($self -> header -> {alg}) desde la propia cabecera del token y luego llama a decode_jwt(token, key, 1, [$self -> alg]), entregando a JSON::WebToken una lista blanca de algoritmos aceptados tomada del token no confiable. Un token con alg=none produce [’none’], por lo que decode_jwt devuelve las ’claims’ sin verificación de firma, y un token con alg=HS256 se verifica con la clave pública RSA del RP como secreto HMAC (confusión de RS a HS). El ID Token es la aserción de autenticación de OpenID Connect entregada a la parte confiable. Cualquier llamador que verifique un ID Token a través de la ruta no fijada load(token) -> verify, o load(token, key) con solo la clave fijada, acepta un token falsificado que contiene ’claims’ elegidas por el atacante, como ’sub’, y es autenticado como cualquier usuario. Pasar un algoritmo explícito de modo que $self -> alg ya esté establecido elude la lista blanca derivada de la cabecera y no se ve afectado. Tenga en cuenta que la última versión subida a CPAN es la 0.10. Las versiones posteriores están disponibles en el repositorio git.

27 Jul 2026, 18:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

22 Jul 2026, 23:16

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/07/22/17 -

22 Jul 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-22 21:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-13089

Mitre link : CVE-2026-13089

CVE.ORG link : CVE-2026-13089


JSON object : View

Products Affected

No product.

CWE
CWE-347

Improper Verification of Cryptographic Signature