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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Provided by | CNA |
Weaknesses
- CWE-295 — CWE-295: Improper Certificate Validation
- CWE-347 — CWE-347: Improper Verification of Cryptographic Signature
Affected products
| Vendor | Product | Versions |
|---|---|---|
| openeudi | openid4vp | < 0.8.1 [affected] |
References
- https://github.com/openeudi/openid4vp/security/advisories/GHSA-4c2f-96cf-f5fc (x_refsource_CONFIRM)
- https://github.com/openeudi/openid4vp/pull/25 (x_refsource_MISC)
- https://github.com/openeudi/openid4vp/commit/a3ffd435aadd61aff1f75ec4b2e1a0f44ffabf16 (x_refsource_MISC)
- https://github.com/openeudi/openid4vp/releases/tag/v0.8.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.