Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54431: CWE-358 Improperly Implemented Security Check for Standard in OpenIDC liboauth2

0
Medium
VulnerabilityCVE-2026-54431cvecve-2026-54431cwe-358
Published: 07/02/2026 (07/02/2026, 10:30:57 UTC)
Source: CVE Database V5
Vendor/Project: OpenIDC
Product: liboauth2

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

CVSS v4.0

Score 5.1medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
liboauth2
pkg:github/liboauth2
Affected versions
<2.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 10:51:16 UTC

Technical Analysis

The vulnerability in liboauth2's DPoP verifier arises because it does not reject proofs whose jwk header contains private key material, contrary to RFC 9449 section 4.3 step 7. Specifically, the oauth2_token_verify() function incorrectly validates a malformed DPoP proof embedding a private Elliptic Curve key in the header, resulting in acceptance of invalid proofs. This improper security check is classified as CWE-358. The issue affects versions of liboauth2 before 2.3.0 and was resolved in version 2.3.0.

Potential Impact

Successful exploitation could lead to acceptance of malformed DPoP proofs containing private key material, potentially undermining the proof-of-possession security guarantees. The CVSS 4.0 base score is 5.1 (medium severity), indicating limited attack vector (local), low complexity, and no user interaction required. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade liboauth2 to version 2.3.0 or later, where this vulnerability has been fixed. No other mitigation guidance is provided or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CERT-PL
Date Reserved
2026-06-15T13:08:01.057Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a463f4927e9c79719b5b54f

Added to database: 07/02/2026, 10:36:57 UTC

Last enriched: 07/02/2026, 10:51:16 UTC

Last updated: 07/02/2026, 11:36:54 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses