# 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 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T20:50:38.763Z
- Modified: 2026-11-19T20:45:04.329Z
- Also known as: GHSA-4c2f-96cf-f5fc
- Weaknesses: CWE-295, CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openeudi openid4vp: < 0.8.1
- @openeudi/openid4vp (npm): before 0.8.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/openeudi/openid4vp/security/advisories/GHSA-4c2f-96cf-f5fc> (exploit, web)
- <https://github.com/openeudi/openid4vp/pull/25> (web)
- <https://github.com/openeudi/openid4vp/commit/a3ffd435aadd61aff1f75ec4b2e1a0f44ffabf16> (web)
- <https://github.com/openeudi/openid4vp/releases/tag/v0.8.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75522> (advisory)
- <https://github.com/openeudi/openid4vp> (package)

## Sources

- CVE List: [CVE-2026-75522](https://www.cve.org/CVERecord?id=CVE-2026-75522), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-4c2f-96cf-f5fc](https://github.com/advisories/GHSA-4c2f-96cf-f5fc), CC-BY-4.0, modified 2026-11-19
- NVD: [CVE-2026-75522](https://nvd.nist.gov/vuln/detail/CVE-2026-75522), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-75522 · Whole record: https://cve.day/CVE-2026-75522.json · Rebuilt by cve.day 2026-11-25T22:59:51.915Z
