CVE-2026-54431
JSON

5.1medium

Improper Data Validation in liboauth2

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

Description

In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header. This issue was fixed in version 2.3.0

Affected

Product or packageVersionsReported by
OpenIDC liboauth2before 2.3.0CVE List

Classification

CWE-358

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

What each source says

CVE List

In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header. This issue was fixed in version 2.3.0

NVD (es)

En liboauth2, el verificador de Demostración de Prueba de Posesión (DPoP) acepta una prueba cuyo encabezado JSON Web Key (jwk) contiene material de clave privada. RFC 9449 sección 4.3 paso 7 requiere que el verificador rechace dicha prueba, pero la función oauth2_token_verify() devuelve éxito para una prueba DPoP malformada que incrusta la clave privada de Curva Elíptica (EC) en el encabezado. Este problema fue corregido en la versión 2.3.0.

References

Sources

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