Skip to content

CVE-2026-75522 OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature

HighCVSS 7.5 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

OpenID4VP is an open-source credential parsing library for SD-JWT VC and mDOC/mDL formats. Prior to 0.8.1, src/trust/ChainBuilder.ts ChainBuilder.tryBuild() terminates chain construction when an attacker-controlled certificate Subject Distinguished Name equals a trusted anchor subject, without verifying cryptographic closure to the anchor public key. A remote unauthenticated attacker can supply a self-signed leaf or intermediate that reuses the trusted Subject Distinguished Name and have credentials signed by the attacker key accepted as issued by the trusted authority. The public src/trust/TrustEvaluator.ts TrustEvaluator.evaluate() path compounds the error by matching a terminus through serialNumber and falling back to anchors[0], which can attribute the forged chain to genuine trusted-authority metadata. This issue is fixed in version 0.8.1.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
openeudi openid4vp(npm) < 0.8.1; <= 0.8.0 0.8.1 Fixed
openeudi openid4vp = < 0.8.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openeudi openid4vp = < 0.8.1 No fix listed
openeudi openid4vp(npm) < 0.8.1 0.8.1
openeudi openid4vp(npm) <= 0.8.0 No fix listed

References