Skip to content
High 7.1

@sd-jwt/core 改ざんされた開示情報が拒否されず脆弱性、情報が欠落し認可判断が変わるおそれ

CVE-2026-62374 First seen on SecPulse

Summary

@sd-jwt/core と @sd-jwt/decode の0.19.0以前では、ダイジェストが一致しない改ざんされた開示情報が、エラーにならず黙って除外されます。そのため、発行者の署名が有効なまま、検証結果から一部の属性が欠けたものが成功として返されます。修正版は@sd-jwt/core 0.20.0で、@sd-jwt/decodeの単独の修正版は公表されていないため、最新の情報を確認してください。

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.

@sd-jwt/core と @sd-jwt/decode の0.19.0以前では、ダイジェストが一致しない改ざんされた開示情報が、エラーにならず黙って除外されます。そのため、発行者の署名が有効なまま、検証結果から一部の属性が欠けたものが成功として返されます。修正版は@sd-jwt/core 0.20.0で、@sd-jwt/decodeの単独の修正版は公表されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
openwallet-foundation@sd-jwt/core —
openwallet-foundation@sd-jwt/decode —
npm@sd-jwt/decode
≤ 0.19.0→ Not listed
npm@sd-jwt/core
< 0.20.0→ 0.20.0
Original description The description as published by the source.

SD JWT JS is a JavaScript implementation of the Selective Disclosure JWT (SD-JWT) specification. In version 0.19.0 and earlier, @sd-jwt/decode, also used by @sd-jwt/core, silently drops a tampered Disclosure whose digest no longer matches the Issuer-signed _sd array and returns a reduced claim set, reporting success while the Issuer signature remains valid. Both a tampered Disclosure that remains valid JSON and a Disclosure containing invalid UTF-8 bytes reach this silent-drop behavior. In the latter case, the TextDecoder / Buffer decoding path substitutes U+FFFD replacement characters, recovering syntactically valid disclosure data instead of rejecting the malformed input. This violates RFC 9901 section 7.1 step 5, which requires rejection of unreferenced Disclosures, and section 7.1 step 3 / section 4.2.1, which require rejection of invalid Disclosures. A malicious holder can exploit this omission primitive, including through SDJwtInstance.verify() when key binding is required. An on-path attacker can also tamper with a Disclosure when the relying party does not enforce key binding; enforced key binding rejects on-path tampering because it invalidates the KB-JWT sd_hash binding. If the relying party defaults to allowing access when a constraining age, role, or restriction claim is absent, the silent claim reduction can change an authorization decision without an error. This issue is fixed in @sd-jwt/core version 0.20.0; no patched version of the standalone `@s…

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