CVE-2026-59096 Details
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.
A vulnerability exists in Dapr Sentry's OpenID Connect (OIDC) discovery endpoint, specifically in versions prior to 1.17.0 and 1.18.0. The issue arises because the endpoint derives the issuer and JWKS URI from the request host, without validating an attacker-controlled X-Forwarded-Host header. This flaw occurs when no allowed-hosts list is configured, which is the default setting. The discovery document is then served with a one-hour public cache lifetime. As a result, a remote, unauthenticated attacker can manipulate the discovery document. Relying parties that perform dynamic (unpinned) discovery may inadvertently accept attacker-signed JWTs, fetched from an attacker-controlled server. Exploitation of this vulnerability requires the OIDC server to be enabled without a configured JWT issuer or OIDC allowed-hosts.
Users can upgrade to Dapr versions 1.17.0 or 1.18.0, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 2, 2026CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dapr/dapr/pull/10027 | [email protected] | Issue TrackingVendor |
| https://github.com/dapr/dapr/pull/10028 | [email protected] | Issue TrackingVendor |
| https://github.com/dapr/dapr/pull/10029 | [email protected] | Issue TrackingVendor |
| https://www.vulncheck.com/advisories/dapr-oidc-discovery-issuer-and-jwks-uri-injection-via-unvalidated-x-forwarded-host | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dapr Sentry | < 1.17.0 (semver) < 1.18.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2026 | New CVE Received | [email protected] |
Volerion