Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.3
CVE-2026-59096: Dapr can be tricked to trust attacker‑controlled keys
CVE-2026-59096 · published 4 months ago
Summary
Dapr’s identity service builds its login configuration using the web address it sees in incoming requests. If the server is left at default settings, an attacker can send a fake address header and cause Dapr to point to a malicious source for verification keys, allowing forged login tokens to be accepted. Fix it by setting a specific trusted address list or disabling the automatic discovery feature.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| dapr | dapr | 1.17.0 |
Original advisory text
Dapr - OIDC Discovery Issuer and JWKS URI Injection via Unvalidated X-Forwarded-Host
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
- https://www.vulncheck.com/advisories/dapr-oidc-discovery-issuer-and-jwks-uri-inj... Vendor Advisory
- https://github.com/dapr/dapr/pull/10027 Third Party Advisory
- https://github.com/dapr/dapr/pull/10028 Third Party Advisory
- https://github.com/dapr/dapr/pull/10029 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59096... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-59096 Vendor Advisory
- https://github.com/dapr/dapr Product
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Severity
8.3
High
Type
CWE-346Origin Validation Error
Timeline
Published2 Jul 2026
Updated4 Nov 2026
First seen2 Jul 2026
Track software like this
Free during beta