CVE-2026-59096
JSON

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 packageVersionsReported by
dapr dapr1.17.0, 1.18.0CVE List

All scores

VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
VulnCheck8.2high CVSS:4.0CVSS: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

CWE-346

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

Sources

SourceRecordLicence
CVE ListCVE-2026-59096 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-59096 changed 2026-10-25Public domain