CVE-2026-54430
JSON

5.1medium

Server-Site Request Forgery in liboauth2

Severity
5.1medium CVSS:4.0 by CERT-PL
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CERT-PL

Description

liboauth2 is vulnerable to Server-Side Request Forgery in oauth2_jose_jwks_aws_alb_resolve() function. The AWS ALB verifier reads both signer and kid from the unverified JWT header. If signer matches the configured ARN, kid is appended to alb_base_url without URL encoding or path sanitization, and the HTTP GET is issued before signature verification. This allows an attacker to force the server to send a GET request to an attacker-chosen internal path. This issue was fixed in version 2.3.0

Affected

Product or packageVersionsReported by
OpenIDC liboauth2before 2.3.0CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

liboauth2 is vulnerable to Server-Side Request Forgery in oauth2_jose_jwks_aws_alb_resolve() function. The AWS ALB verifier reads both signer and kid from the unverified JWT header. If signer matches the configured ARN, kid is appended to alb_base_url without URL encoding or path sanitization, and the HTTP GET is issued before signature verification. This allows an attacker to force the server to send a GET request to an attacker-chosen internal path. This issue was fixed in version 2.3.0

NVD (es)

liboauth2 es vulnerable a falsificación de petición del lado del servidor en la función oauth2_jose_jwks_aws_alb_resolve(). El verificador de AWS ALB lee tanto el ’signer’ como el ’kid’ del encabezado JWT no verificado. Si el ’signer’ coincide con el ARN configurado, el ’kid’ se añade a ’alb_base_url’ sin codificación URL ni saneamiento de ruta, y la petición GET HTTP se emite antes de la verificación de la firma. Esto permite a un atacante forzar al servidor a enviar una petición GET a una ruta interna elegida por el atacante. Este problema se solucionó en la versión 2.3.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54430 changed 2026-07-02CVE Terms of Use
NVDCVE-2026-54430 changed 2026-10-25Public domain