CVE-2026-75866

Punk::OAuth2::Server versions through 0.03 for Perl issue access tokens outside a client's registered scopes and grant types because no authorization path reads them. Punk::OAuth2::Server::Store registers scopes and grant_types per client and documents both as client registration. token dispatches on the grant_type in the request body, so a client registered for authorization_code alone can ask for client_credentials, and that arm passes the requested scope straight to the minter, which signs it into the at+jwt access token. authorize copies the query scope into the authorization code record without comparing it against the registration, leaving the optional consent hook as the only check between an arbitrary scope and the issued code. redirect_uris on the same client row is read and enforced. A registered client can obtain a correctly signed token carrying any scope it names, and a resource server running Punk::OAuth2::Checker accepts that token and honours the scope. A client registered without a secret authenticates on its client_id alone, so anyone who knows that identifier can request one.
Configurations

No configuration.

History

15 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Punk::OAuth2::Server hasta la 0.03 para Perl emiten tokens de acceso fuera de los ámbitos y tipos de concesión registrados de un cliente porque ninguna ruta de autorización los lee. Punk::OAuth2::Server::Store registra ámbitos y grant_types por cliente y documenta ambos como registro de cliente. El token se despacha según el grant_type en el cuerpo de la solicitud, por lo que un cliente registrado solo para authorization_code puede solicitar client_credentials, y esa rama pasa el ámbito solicitado directamente al emisor, que lo firma en el token de acceso at+jwt. Authorize copia el ámbito de la consulta en el registro del código de autorización sin compararlo con el registro, dejando el punto de enganche de consentimiento opcional como la única verificación entre un ámbito arbitrario y el código emitido. Las redirect_uris en la misma fila del cliente se leen y se aplican. Un cliente registrado puede obtener un token correctamente firmado que lleva cualquier ámbito que nombre, y un servidor de recursos que ejecuta Punk::OAuth2::Checker acepta ese token y respeta el ámbito. Un cliente registrado sin un secreto se autentica solo con su client_id, por lo que cualquiera que conozca ese identificador puede solicitar uno.

Information

Published : 2026-08-22 14:16

Updated : 2026-10-15 19:10


NVD link : CVE-2026-75866

Mitre link : CVE-2026-75866

CVE.ORG link : CVE-2026-75866


JSON object : View

Products Affected

No product.

CWE
CWE-862

Missing Authorization