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.
Published: 2026-07-02
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Dapr Sentry’s OpenID Connect discovery endpoint, which constructs the issuer and jwks_uri fields of the /.well-known/openid-configuration document directly from the request Host header. When an attacker supplies an X-Forwarded-Host header and the service is running with the default configuration—no allowed-hosts list or jwt-issuer specified—the header is accepted without validation. This flaw allows a remote, unauthenticated attacker to poison the discovery document with attacker‑controlled values. Because the document is cached publicly for one hour, client applications that perform dynamic, unpinned discovery will trust the attacker’s JWKS and accept JWTs signed by the attacker, effectively bypassing authentication.

Affected Systems

The flaw affects deployments of the Dapr framework, specifically the Dapr Sentry component, in version 1.17.0 and 1.18.0. Any instance running with the default OIDC settings—no jwt-issuer or oidc-allowed-hosts configured— is vulnerable.

Risk and Exploitability

This issue carries a CVSS score of 8.2, reflecting high severity. The EPSS score is less than 1%, suggesting a very low probability of exploitation in reality, and it is not listed in the CISA KEV catalog. Attackers can exploit the flaw remotely and without authentication by crafting a malicious X‑Forwarded‑Host header. After poisoning the discovery document, client applications that perform dynamic discovery will treat the attacker’s keys as valid and accept forged tokens, leading to a full authentication bypass.

Generated by OpenCVE AI on July 21, 2026 at 10:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Configure the OIDC server with a valid jwt‑issuer and enable an oidc‑allowed‑hosts list to prevent unvalidated host usage (CWE‑346).
  • Validate or restrict the X‑Forwarded‑Host header so that only trusted host values are used for issuer and jwks_uri derivation (CWE‑346).
  • Serve the discovery document with a conservative cache lifetime and configure client applications to perform strict issuer checks to detect tampered JWKS (CWE‑346).

Generated by OpenCVE AI on July 21, 2026 at 10:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Linuxfoundation
Linuxfoundation dapr
CPEs cpe:2.3:a:linuxfoundation:dapr:1.17.0:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:dapr:1.18.0:*:*:*:*:*:*:*
Vendors & Products Linuxfoundation
Linuxfoundation dapr

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Dapr
Dapr dapr
Vendors & Products Dapr
Dapr dapr

Thu, 02 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Dapr - OIDC Discovery Issuer and JWKS URI Injection via Unvalidated X-Forwarded-Host
Weaknesses CWE-346
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 8.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:23.087Z

Reserved: 2026-07-02T15:38:18.928Z

Link: CVE-2026-59096

cve-icon Vulnrichment

Updated: 2026-07-06T13:31:22.771Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:00:05Z

Weaknesses