# 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:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.23% (percentile 9, 2026-11-28)
- **CWE:** CWE-295, CWE-347
- **Aliases:** GHSA-4c2f-96cf-f5fc
- **Published:** 2026-11-18T20:50:38.763Z
- **Modified:** 2026-11-19T20:35:58.000Z

## Who should check

- Projects that depend on npm package @openeudi/openid4vp (\<= 0.8.0)
- Anyone running openeudi openid4vp \< 0.8.1

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

## Affected and fixed versions

- npm `@openeudi/openid4vp`: affected \<= 0.8.0; fixed 0.8.1 (ghsa)
- openeudi openid4vp: \< 0.8.1 (cvelist)

## Technologies

npm packages

## Mitigation

- Upgrade @openeudi/openid4vp to 0.8.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-75522. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-75522.md
Affected: @openeudi/openid4vp <= 0.8.0
Fixed in: 0.8.1

Steps:
1. Search this machine and project for @openeudi/openid4vp (npm), openeudi openid4vp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-75522 being exploited?

There is no confirmed exploitation: CVE-2026-75522 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-75522?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-75522?

@openeudi/openid4vp \<= 0.8.0.

### Is there a fix for CVE-2026-75522?

Yes. Fixed in 0.8.1. Upgrade @openeudi/openid4vp to 0.8.1 or later.

### How do I check if I'm affected by CVE-2026-75522?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openeudi/openid4vp/security/advisories/GHSA-4c2f-96cf-f5fc>
- patch: <https://github.com/openeudi/openid4vp/pull/25>
- patch: <https://github.com/openeudi/openid4vp/commit/a3ffd435aadd61aff1f75ec4b2e1a0f44ffabf16>
- other: <https://github.com/openeudi/openid4vp/releases/tag/v0.8.1>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-75522>
- other: <https://github.com/advisories/GHSA-4c2f-96cf-f5fc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-75522>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-4c2f-96cf-f5fc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-75522> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-75522>
