npm
CVE-2026-75522
OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature
- Severity
- High 7.5
- Published
- 19 Nov 2026
- Last changed
- 19 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.8.1
- Exploit chance
- 0.2% in the next 30 daysHigher than 15% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Improper certificate validation (CWE-295)Improper verification of a cryptographic signature (CWE-347)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Also known as
- GHSA-4c2f-96cf-f5fc
- Sources
- OSV.dev and GitHub
Description
ChainBuilder (the private RFC 5280 validator behind TrustEvaluator and the public credential-parsing API) terminated chain building on Subject Distinguished Name string equality rather than on cryptographic closure to a trust anchor. A certificate whose Subject DN string matched a trusted anchor's Subject DN was accepted as the chain terminus with no signature verification against the anchor's public key.
An attacker who mints a self-signed certificate and copies a trusted anchor's Subject DN string onto it can therefore have that certificate — and any credential signed with its private key — accepted as issued under a trusted authority.
A relying party using @openeudi/openid4vp to verify OpenID4VP presentations (mdoc / SD-JWT VC) could be induced to accept a forged credential as genuine, defeating the trust-anchor model. In an eIDAS / EUDI age- or identity-verification deployment this permits impersonation of a trusted issuer.
Workarounds
None. Upgrade to 0.8.1.
Affected software
| Software | Affected versions |
|---|---|
@openeudi/openid4vpnpm · osv:npm:@openeudi/openid4vp |
|
About @openeudi/openid4vp
- Weekly downloads (npm)
- 581npm, 24 Nov 2026
This is the only vulnerability in @openeudi/openid4vp in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-75522
- GitHub Advisory Database https://github.com/advisories/GHSA-4c2f-96cf-f5fc