GHSA-q8cr-74p8-486p
Dapr Sentry's OIDC discovery endpoint improperly trusts the X-Forwarded-Host header without validation when no allowed-hosts list is configured, allowing an attacker to poison the OpenID configuration document. This can cause relying parties to fetch JSON Web Key Sets (JWKS) from attacker-controlled servers, potentially accepting attacker-signed JWTs. Exploitation requires the OIDC server to be enabled without a configured jwt-issuer or oidc-allowed-hosts.
AI Analysis
Technical Summary
The vulnerability in Dapr Sentry involves the OIDC discovery endpoint deriving the issuer and jwks_uri from the request Host header, honoring an attacker-controlled X-Forwarded-Host header without validation if no allowed-hosts list is configured (which is the default). This allows a remote unauthenticated attacker to poison the /.well-known/openid-configuration document served with a one-hour public cache lifetime. As a result, relying parties performing dynamic discovery may fetch JWKS from an attacker-controlled server, leading to acceptance of attacker-signed JWTs. The vulnerability requires the OIDC server to be enabled and no jwt-issuer or oidc-allowed-hosts configured, making it a configuration-dependent issue.
Potential Impact
An attacker can remotely manipulate the OIDC discovery document to redirect JWKS fetching to a malicious server, enabling acceptance of attacker-signed JWTs by relying parties. This compromises authentication integrity and can lead to unauthorized access. The vulnerability is exploitable without authentication but requires specific insecure configuration (no jwt-issuer or allowed hosts).
Mitigation Recommendations
No official patch or fix is currently confirmed. Mitigation involves configuring the OIDC server with a jwt-issuer or an allowed-hosts list to prevent trusting attacker-controlled X-Forwarded-Host headers. Until a patch is available, administrators should ensure these configurations are set to avoid exploitation.
GHSA-q8cr-74p8-486p
Description
Dapr Sentry's OIDC discovery endpoint improperly trusts the X-Forwarded-Host header without validation when no allowed-hosts list is configured, allowing an attacker to poison the OpenID configuration document. This can cause relying parties to fetch JSON Web Key Sets (JWKS) from attacker-controlled servers, potentially accepting attacker-signed JWTs. Exploitation requires the OIDC server to be enabled without a configured jwt-issuer or oidc-allowed-hosts.
CVSS v4.0
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Dapr Sentry involves the OIDC discovery endpoint deriving the issuer and jwks_uri from the request Host header, honoring an attacker-controlled X-Forwarded-Host header without validation if no allowed-hosts list is configured (which is the default). This allows a remote unauthenticated attacker to poison the /.well-known/openid-configuration document served with a one-hour public cache lifetime. As a result, relying parties performing dynamic discovery may fetch JWKS from an attacker-controlled server, leading to acceptance of attacker-signed JWTs. The vulnerability requires the OIDC server to be enabled and no jwt-issuer or oidc-allowed-hosts configured, making it a configuration-dependent issue.
Potential Impact
An attacker can remotely manipulate the OIDC discovery document to redirect JWKS fetching to a malicious server, enabling acceptance of attacker-signed JWTs by relying parties. This compromises authentication integrity and can lead to unauthorized access. The vulnerability is exploitable without authentication but requires specific insecure configuration (no jwt-issuer or allowed hosts).
Mitigation Recommendations
No official patch or fix is currently confirmed. Mitigation involves configuring the OIDC server with a jwt-issuer or an allowed-hosts list to prevent trusting attacker-controlled X-Forwarded-Host headers. Until a patch is available, administrators should ensure these configurations are set to avoid exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q8cr-74p8-486p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-59096"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a46eca627e9c7971943a3d8
Added to database: 07/02/2026, 22:56:38 UTC
Last enriched: 07/02/2026, 23:00:10 UTC
Last updated: 07/03/2026, 01:32:04 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.