Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft DPoP proof JWT with EC private key in JWK header
-
DeliverySubmit proof to liboauth2-protected API endpoint
-
Exploitoauth2_token_verify() omits RFC 9449 §4.3 step 7 validation
-
ExecutionMalformed proof accepted as valid
-
PersistDPoP token binding bypassed
-
ImpactPrivate EC key material potentially logged or processed server-side
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V12 - Secure Communication Improperly implemented security check
|
| Exploitation Conditions | Exploitation requires that the target server uses liboauth2 prior to version 2.3.0 AND has DPoP proof verification enabled - servers not using DPoP are entirely unaffected. The attacker must be able to submit an HTTP request carrying a crafted DPoP proof JWT to a DPoP-protected endpoint (standard network access to the API). No account credentials or prior authentication are required to submit a DPoP proof, as DPoP proofs are part of the unauthenticated token-presentation flow. The vulnerability is limited to the EC key type specifically mentioned in the description; whether RSA or other JWK key types are similarly mishandled is not confirmed from available data. The limiting factor on impact is that successful bypass of DPoP validation alone does not grant full account takeover - the attacker still needs a valid (though now unbounded) access token; the flaw removes the possession-proof binding rather than granting token issuance. |
| Impact | The assigned CVSS 4.0 score of 5.1 (Medium) with 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 presents a notable inconsistency: AV:L (Local attack vector) conflicts with the nature of liboauth2 as a server-side network-facing library that processes DPoP proofs delivered over HTTP. The PR:N (no privileges) metric alongside AV:L is also atypical - a local-access-only flaw with no required privileges. This discrepancy should be verified with the scoring party (CERT-PL). In practice, the real-world attack surface is likely network-accessible: any attacker who can submit a crafted DPoP proof JWT to an endpoint protected by liboauth2 could trigger the flaw. The confidentiality impact (VC:L) reflects potential private key material disclosure if the embedded key is subsequently processed, logged, or reflected by the server. Integrity impact is assessed as present but omitted from the vendor vector - DPoP validation bypass weakens token-binding protections. No KEV listing, no EPSS data provided, and no POC is known, collectively suggesting this has not been weaponized as of analysis time. Real-world risk is moderate for DPoP-deploying services using this specific C library; organizations not using DPoP in their liboauth2 deployments are not affected by this specific flaw. |
| Exploit ScenarioDerived | An attacker targeting a resource server or authorization server built on liboauth2 constructs a DPoP proof JWT in which the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
DPoP (Demonstrating Proof-of-Possession) proof verification in OpenIDC's liboauth2 C library incorrectly accepts malformed proofs that embed private Elliptic Curve (EC) key material in the JWK header, directly violating RFC 9449 §4.3 step 7. The oauth2_token_verify() function returns success instead of rejecting such proofs, subverting DPoP's core token-binding security guarantee and enabling information disclosure of private key material. No active exploitation is confirmed (not in CISA KEV), no public exploit code has been identified, and a patch is available in liboauth2 2.3.0.
RemediationAI
Upgrade liboauth2 to version 2.3.0 or later, which contains the fix per commit c0b57152ed6a0af33aeb04a60bd7f5bff5ab8800 (https://github.com/OpenIDC/liboauth2/commit/c0b57152ed6a0af33aeb04a60bd7f5bff5ab8800). The CERT-PL advisory at https://cert.pl/en/posts/2026/06/CVE-2026-54430 (note: URL references CVE-2026-54430, potentially a related sibling CVE from the same report - verify applicability) and the upstream repository at https://github.com/OpenIDC/liboauth2 are the authoritative sources. If immediate upgrade is not possible, a compensating control is to disable DPoP support at the application layer if it is not operationally required - this eliminates the affected code path entirely, though it removes the token-binding security benefit DPoP provides. Alternatively, deploy an API gateway or reverse proxy that pre-validates DPoP proof JWTs and rejects any containing private key material in the JWK header before they reach the liboauth2-based backend, though this adds architectural complexity and requires the proxy to implement RFC 9449 §4.3 step 7 correctly.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DPoP (RFC 9449) is an OAuth2 proof-of-possession mechanism that binds access tokens to a client-held asymmetric key pair. A DPoP proof is a signed JWT whose header includes a jwk parameter containing the public key - the verifier uses this to confirm the presenter holds the corresponding private key. RFC 9449 §4.3 step 7 explicitly mandates that verifiers MUST reject any DPoP proof whose jwk header contains private key material, since the JWK header is intended to carry only the public component. The affected library, liboauth2 (CPE: cpe:2.3:a:openidc:liboauth2:*:*:*:*:*:*:*:*), is an OpenIDC C library for building OAuth2/OIDC resource servers and authorization servers. The root cause maps to CWE-358 (Improperly Implemented Security Check for Standard): a required validation step mandated by the RFC specification was not implemented, causing a compliant-looking but invalid proof to pass verification. The elliptic curve (EC) key format is specifically implicated, suggesting the JWK parsing logic did not distinguish between public-only and private-key-bearing EC JWK structures.
Know when Liboauth2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network vector because DPoP proofs arrive over HTTP; PR:N since proof submission requires no prior authentication; C:L and I:L reflect private key disclosure risk and DPoP binding bypass respectively.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
Lifecycle Timeline
1DescriptionCVE.org
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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-41277
GHSA-3pf6-g4x4-jm46
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB