Certificate chain validation in OpenID4VP accepts forged certificates
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Spoofing, Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-295 and CWE-347.
Summary
OpenID4VP, affected before 0.8.1, is an open-source credential parsing library for SD-JWT VC and mDOC/mDL formats. Its chain builder stops when a certificate's Subject Distinguished Name matches a trusted anchor, without verifying the signature to the anchor's public key (CWE-295). A remote unauthenticated attacker can supply a self-signed certificate that reuses the trusted name, so credentials signed with the attacker's key are accepted as issued by the trusted authority.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| openeudi | openid4vp | before 0.8.1 | 0.8.1 | Patch available | CNA |
| — | @openeudi/openid4vp (npm) | before 0.8.1 | 0.8.1 | Patch available | GHSA-4c2f-96cf-f5fc |
- openid4vp Vendoropeneudi Affected before 0.8.1 Fixed in 0.8.1 Patch available CNA
- @openeudi/openid4vp (npm) Vendor— Affected before 0.8.1 Fixed in 0.8.1 Patch available GHSA-4c2f-96cf-f5fc
Remediation
Upgrade the openeudi openid4vp package (@openeudi/openid4vp on npm) to version 0.8.1, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA openid4vp (openeudi) Fixed in 0.8.1
- Fix · GHSA-4c2f-96cf-f5fc @openeudi/openid4vp (npm) Fixed in 0.8.1 Advisory →
Timeline
- 2026-11-18 Threatist record created from CVE-2026-75522
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-19 Alias added: GHSA-4c2f-96cf-f5fc
- 2026-11-19 Fix available: npm/@openeudi/[email protected] · GHSA-4c2f-96cf-f5fc
- 2026-11-19 CVSS score added · GHSA-4c2f-96cf-f5fc
- 2026-11-19 Weakness changed · GHSA-4c2f-96cf-f5fc
- 2026-11-19 6 new references · GHSA-4c2f-96cf-f5fc
References
Other 5
- https://github.com/openeudi/openid4vp/security/advisories/GHSA-4c2f-96cf-f5fc
- https://github.com/openeudi/openid4vp/pull/25
- https://github.com/openeudi/openid4vp/commit/a3ffd435aadd61aff1f75ec4b2e1a0f44ffabf16
- https://github.com/openeudi/openid4vp/releases/tag/v0.8.1
- https://github.com/openeudi/openid4vp
Sources
- CVE-2026-75522 · CVE Program
- CVE-2026-75522 · NVD
- FIRST EPSS
- GHSA-4c2f-96cf-f5fc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences