8.2high
Dapr - OIDC Discovery Issuer and JWKS URI Injection via Unvalidated X-Forwarded-Host
- Severity
- 8.2high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.25% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Dapr Sentry's OIDC discovery endpoint derives the issuer and jwks_uri of the /.well-known/openid-configuration document from the request Host, honoring an attacker-controlled X-Forwarded-Host header without validation when no allowed-hosts list is configured (the default), and serves the document with a one-hour public cache lifetime. A remote unauthenticated attacker can poison the discovery document so relying parties performing dynamic (unpinned) discovery fetch the JWKS from an attacker-controlled server, causing attacker-signed JWTs to be accepted. Exploitation requires the OIDC server enabled without a configured jwt-issuer or oidc-allowed-hosts.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dapr dapr | 1.17.0, 1.18.0 | CVE List |
All scores
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| VulnCheck | 8.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Dapr Sentry's OIDC discovery endpoint derives the issuer and jwks_uri of the /.well-known/openid-configuration document from the request Host, honoring an attacker-controlled X-Forwarded-Host header without validation when no allowed-hosts list is configured (the default), and serves the document with a one-hour public cache lifetime. A remote unauthenticated attacker can poison the discovery document so relying parties performing dynamic (unpinned) discovery fetch the JWKS from an attacker-controlled server, causing attacker-signed JWTs to be accepted. Exploitation requires the OIDC server enabled without a configured jwt-issuer or oidc-allowed-hosts.
NVD (es)
El endpoint de descubrimiento OIDC de Dapr Sentry deriva el emisor y la jwks_uri del documento /.well-known/openid-configuration del Host de la solicitud, respetando un encabezado X-Forwarded-Host controlado por el atacante sin validación cuando no hay una lista de allowed-hosts configurada (el valor predeterminado), y sirve el documento con una vida útil de caché pública de una hora. Un atacante remoto no autenticado puede envenenar el documento de descubrimiento de modo que las partes confiables que realizan un descubrimiento dinámico (no fijado) obtengan el JWKS de un servidor controlado por el atacante, lo que hace que se acepten los JWT firmados por el atacante. La explotación requiere que el servidor OIDC esté habilitado sin un jwt-issuer o oidc-allowed-hosts configurado.
References
| https://github.com/dapr/dapr/pull/10027 | issue-tracking, patch | |
| https://github.com/dapr/dapr/pull/10028 | issue-tracking, patch | |
| https://github.com/dapr/dapr/pull/10029 | issue-tracking, patch | |
| https://www.vulncheck.com/advisories/dapr-oidc-discovery-issuer-and-jwks-uri-injection-via-unvalidated-x-forwarded-host | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59096 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-59096 changed 2026-10-25 | Public domain |