{"id":"CVE-2026-75522","aliases":["GHSA-4c2f-96cf-f5fc"],"title":"OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature","originalDescription":"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":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00242,"percentile":0.16497},"exploitDb":null},"affected":[{"ecosystem":"npm","name":"@openeudi/openid4vp","range":"<= 0.8.0","fixed":"0.8.1"}],"references":[{"url":"https://github.com/openeudi/openid4vp/security/advisories/GHSA-4c2f-96cf-f5fc","type":"x_refsource_CONFIRM"},{"url":"https://github.com/openeudi/openid4vp/pull/25","type":"x_refsource_MISC"},{"url":"https://github.com/openeudi/openid4vp/commit/a3ffd435aadd61aff1f75ec4b2e1a0f44ffabf16","type":"x_refsource_MISC"},{"url":"https://github.com/openeudi/openid4vp/releases/tag/v0.8.1","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75522.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75522","type":"advisory"},{"url":"https://github.com/advisories/GHSA-4c2f-96cf-f5fc","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-19T16:50:09.575Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75522","license":"NVD terms of use","firstSeenAt":"2026-11-18T21:26:56.893Z"},{"name":"osv","at":"2026-11-19T21:47:42.626Z","url":"https://osv.dev/vulnerability/CVE-2026-75522","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T22:33:26.564Z"},{"name":"ghsa","at":"2026-12-04T20:31:17.985Z","url":"https://github.com/advisories/GHSA-4c2f-96cf-f5fc","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T20:41:25.570Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:40.632Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-75522","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T21:24:23.660Z"}],"firstSeenAt":"2026-11-18T21:24:23.660Z","publishedAt":"2026-11-18T20:50:38.763Z","modifiedAt":"2026-11-19T20:35:58.000Z"}