Read the docs

Certificate chain validation in OpenID4VP accepts forged certificates

Priority HIGH 72CWE-295Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00234 8th percentileScored 2026-11-30
Fix Fixed openid4vp (openeudi): 0.8.1@openeudi/openid4vp (npm): 0.8.1

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

VendorProductAffected versionsFixed inStatusSource
openeudiopenid4vpbefore 0.8.10.8.1Patch availableCNA
—@openeudi/openid4vp (npm)before 0.8.10.8.1Patch availableGHSA-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

  1. 2026-11-18 Threatist record created from CVE-2026-75522
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-19 Alias added: GHSA-4c2f-96cf-f5fc
  4. 2026-11-19 Fix available: npm/@openeudi/[email protected] · GHSA-4c2f-96cf-f5fc
  5. 2026-11-19 CVSS score added · GHSA-4c2f-96cf-f5fc
  6. 2026-11-19 Weakness changed · GHSA-4c2f-96cf-f5fc
  7. 2026-11-19 6 new references · GHSA-4c2f-96cf-f5fc

References

Sources