Skip to content
High 7.5

OpenID4VPに証明書チェーンの検証不備の脆弱性、偽の認証情報が信頼される

CVE-2026-75522 First seen on SecPulse

Summary

OpenID4VPの0.8.1より前では、信頼されたアンカーと同じサブジェクトDNを持つ偽の証明書が、署名を検証されないまま受け入れられます。認証されていない攻撃者が遠隔から、攻撃者の鍵で署名した認証情報を信頼された発行元のものとして通せるおそれがあります。修正版の0.8.1で対応しているため、速やかに修正版へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

OpenID4VPの0.8.1より前では、信頼されたアンカーと同じサブジェクトDNを持つ偽の証明書が、署名を検証されないまま受け入れられます。認証されていない攻撃者が遠隔から、攻撃者の鍵で署名した認証情報を信頼された発行元のものとして通せるおそれがあります。修正版の0.8.1で対応しているため、速やかに修正版へ更新してください。

Affected packages

PackageAffected → Fixed
openeudiopenid4vp —
npm@openeudi/openid4vp
< 0.8.1→ 0.8.1
Original description The description as published by the source.

Summary

ChainBuilder (the private RFC 5280 validator behind TrustEvaluator and the public credential-parsing API) terminated chain building on Subject Distinguished Name string equality rather than on cryptographic closure to a trust anchor. A certificate whose Subject DN string matched a trusted anchor's Subject DN was accepted as the chain terminus with no signature verification against the anchor's public key.

An attacker who mints a self-signed certificate and copies a trusted anchor's Subject DN string onto it can therefore have that certificate — and any credential signed with its private key — accepted as issued under a trusted authority.

Impact

A relying party using @openeudi/openid4vp to verify OpenID4VP presentations (mdoc / SD-JWT VC) could be induced to accept a forged credential as genuine, defeating the trust-anchor model. In an eIDAS / EUDI age- or identity-verification deployment this permits impersonation of a trusted issuer.

Exploitable through the public verification path: TrustEvaluator.evaluate() returns a successful result (and, due to a secondary fallback, attributes the forged leaf to a real anchor's metadata), so downstream callers see a trusted outcome.

Details

src/trust/ChainBuilder.ts, tryBuild():

while (current.subject !== anchor.subject) { /* verify & climb */ }
// loop exits when current.subject === anchor.subject
return chain;  // returned WITHOUT verifying `current` against the anchor

The sig…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details