Security Advisories (1)
CVE-2026-13089 (2026-07-22)

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.

Changes for version 0.01 - 2013-03-03

  • initial version

Modules

OpenID Connect Library
Class represents dynamic client registration response
OpenID Connect Dynamic Client Registration Client
Class represents access-token response
OpenID Connect Web Server Profile Client
model class that represents authorization info.
model class that represents client info.
model class that represents ID token
handler for OpenID Connect Authorization request
Base class that specifies interface for data handler for your service.
registration endpoint PSGI application
token endpoint PSGI application
OpenID Connect server errors (for Dynamic Client Registration)
handler for 'authorization-code' grant_type request
store of handlers for each grant_type.
base class of each registration_type handler
handler for 'client_register' registration type request
handler for 'client_update' registration type request
handler for 'rotate_secret' registration type request
store of handlers for each registration type.
utility class for OpenID Connect Scope
handler for OpenID Connect Session Management
JSON Web Token
middleware for OpenID Connect Protected Resource endpoint

Provides

in lib/OIDC/Lite/Client/RegistrationResponseParser.pm
in lib/OIDC/Lite/Client/TokenResponseParser.pm
in lib/OIDC/Lite/Server/Error.pm
in lib/OIDC/Lite/Server/Error.pm
in lib/OIDC/Lite/Server/Error.pm
in lib/OIDC/Lite/Server/Error.pm