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
Published: 2026-07-02
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In liboauth2, the DPoP verifier function oauth2_token_verify() accepts a proof whose JSON Web Key header contains private elliptic‑curve key material, a condition prohibited by RFC 9449 section 4.3 step 7. This improper data validation flaw (CWE‑358) allows an attacker to create a malformed DPoP token that the library will incorrectly accept as valid, thereby forging authentication credentials and potentially granting unauthorized access to protected resources.

Affected Systems

OpenIDC’s liboauth2 library versions prior to 2.3.0 are affected. Any application, service, or OAuth server that relies on the vulnerable library to validate DPoP proofs during authentication is at risk unless it updates to the patched release.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.1, indicating moderate severity, and an EPSS score of less than 1 %, reflecting a very low but non‑zero likelihood of exploitation. It is not listed in the CISA KEV catalog. Exploitation requires an attacker to construct and present a DPoP proof embedding private key material to an OAuth server that uses the vulnerable liboauth2. The attack is likely remote, occurring over the network when a client sends an authentication request. No additional privileged access or conditions are described in the security advisory.

Generated by OpenCVE AI on August 1, 2026 at 21:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade liboauth2 to version 2.3.0 newer to remove the flaw.
  • Revoke or re‑issue any DPoP tokens that may have been validated by a vulnerable version of the library, ensuring no forged tokens remain active.
  • Add application‑level validation to reject JWT headers that contain private key material, enforcing RFC 9449 compliance until a full library update can be applied.

Generated by OpenCVE AI on August 1, 2026 at 21:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Openidc
Openidc liboauth2
Vendors & Products Openidc
Openidc liboauth2

Fri, 03 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate


Thu, 02 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 11:30:00 +0000


Thu, 02 Jul 2026 10:45:00 +0000

Type Values Removed Values Added
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
Title Improper Data Validation in liboauth2
Weaknesses CWE-358
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Openidc Liboauth2
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-07-02T12:16:41.569Z

Reserved: 2026-06-15T13:08:01.057Z

Link: CVE-2026-54431

cve-icon Vulnrichment

Updated: 2026-07-02T12:16:37.310Z

cve-icon NVD

Status : Deferred

Published: 2026-07-02T11:16:17.123

Modified: 2026-07-02T17:43:14.020

Link: CVE-2026-54431

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-02T10:30:57Z

Links: CVE-2026-54431 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T22:00:14Z

Weaknesses
  • CWE-358

    Improperly Implemented Security Check for Standard