CVE-2026-59096

HIGH

Dapr - OIDC Discovery Issuer and JWKS URI Injection via Unvalidated X-Forwarded-Host

Title source: cna
STIX 2.1

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.

References (4)

Core 4
Core References
Issue Tracking issue-tracking
Fix PR
https://github.com/dapr/dapr/pull/10027
Issue Tracking issue-tracking
Backport release-1.17
https://github.com/dapr/dapr/pull/10028
Issue Tracking issue-tracking
Backport release-1.18
https://github.com/dapr/dapr/pull/10029

Scores

CVSS v3 7.5
EPSS 0.0025
EPSS Percentile 16.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-346
Status published
Products (2)
dapr/dapr 1.17.0
dapr/dapr 1.18.0
Published Jul 02, 2026
Tracked Since Jul 03, 2026