CVE-2026-75522
OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature
- CVSS
- 7.5
- EPSS
- 0.24% (p16)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-19
- Product
- openeudi openid4vp
- Aliases
- GHSA-4c2f-96cf-f5fc
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.
Fixed in
0.8.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| npm | @openeudi/openid4vp | <= 0.8.0 | 0.8.1 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
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
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75522.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-75522 advisory
- https://github.com/advisories/GHSA-4c2f-96cf-f5fc other