一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-59096 [HIGH] – Dapr Sentry’s OIDC discovery endpoint derives the issuer and jwks_uri of the /.well-known/

未分类
📑 文章目录

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.