Bearer SD-JWT VCs are accepted without holder binding although the DCQL query requires cryptographic holder binding by default
Description
Impact
OpenID4VP 1.0 §6.1 defines the credential query parameter require_cryptographic_holder_binding, which defaults to true. §8.6 requires the verifier to check that every presentation carries a proof of holder binding unless the query opted out. Appendix B.3 adds that SD-JWTs without a cnf claim cannot be returned in that case.
Before this fix, verifyPresentation and verifyAuthorizationResponse never read require_cryptographic_holder_binding. A Key Binding JWT was required only when the credential carried cnf (the fix for GHSA-h548-cr7v-4v97) or when the caller set requireKeyBinding: true. With default options, an issuer-signed SD-JWT VC without cnf and without a KB-JWT was therefore accepted as valid: true.
A captured bearer credential could be replayed indefinitely, because the request nonce never enters the check.
Not affected:
- credentials that carry
cnf, which most HAIP/PID issuers include, because their KB-JWT is already mandatory; - integrations that pass
requireKeyBinding: true.
Patches
Fixed in 0.14.0: verifyPresentation and verifyAuthorizationResponse enforce the matched credential query's require_cryptographic_holder_binding, defaulting to true. Without a valid KB-JWT, a bearer SD-JWT is rejected. To accept bearer credentials on purpose, set require_cryptographic_holder_binding: false in that credential query.
Workarounds
Pass requireKeyBinding: true in the verification options.
References
- OpenID4VP 1.0 §6.1, §8.6 and Appendix B.3: openid.net/
specs/ openid-4-verifiable-presentations-1_0.html - Related: GHSA-h548-cr7v-4v97
- Found during an internal specification-conformance audit, 2026-10-20.