# GHSA-R8Q4-FCXM-V42Q: Bearer SD-JWT VCs are accepted without holder binding although the DCQL query requires cryptographic holder binding by default

- Database: GitHub
- Severity: CVSS 5.9 (Medium)
- Published: 2026-10-21
- Modified: 2026-10-21

## Affected versions

- @openeudi/openid4vp (npm): through 0.13.0

## 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: https://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.

## References

- https://github.com/openeudi/openid4vp/security/advisories/GHSA-r8q4-fcxm-v42q

Page: https://cve.now/GHSA-R8Q4-FCXM-V42Q

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
