CVE-2026-145370 — Istio.io/istio — CWE-770
### Summary istiod's JWKS resolver reads remote JWKS and OpenID discovery HTTP responses with no size limit. A principal able to create or update a `RequestAuthentication` can point `jwksUri` (or `issuer`, for OpenID discovery) at an endpoint that returns an arbitrarily large response, causing istiod to buffer the entire body in memory and be `OOMKilled`. Because this runs in istiod's default JWKS fetch mode and the background refresher re-fetches the malicious endpoint after every restart, istiod enters a crash loop and stops distributing configuration to the whole mesh. ### Details In `pilot/pkg/model/jwks_resolver.go`, `getRemoteContentWithRetry` reads the HTTP response body using an unbounded `io.ReadAll(resp.Body)`. Both the HTTP status check and `validateJWKSFormat` run only *after* the full body is read, meaning non-2xx and non-JWKS responses are completely buffered before rejection. Because `io.ReadAll` grows its buffer by doubling, peak heap usage reaches roughly twice the response size. This method serves all three JWKS fetch paths: - `GetPublicKey` (called from `BuildLocalJwks`) - `resolveJwksURIUsingOpenID` (OpenID discovery) - `refresh` (background refresher) The **default configuration is affected**. `PILOT_JWT_ENABLE_REMOTE_JWKS` defaults to `false`, which enables `istiod`-side fetching. Because `istiod` is a shared control plane, a namespace-scoped actor who can create a single `RequestAuthentication`—or an attacker who compromises a legitimate JWKS/Id
### Summary istiod's JWKS resolver reads remote JWKS and OpenID discovery HTTP responses with no size limit. A principal able to create or update a `RequestAuthentication` can point `jwksUri` (or `issuer`, for OpenID discovery) at an endpoint that returns an arbitrarily large response, causing istiod to buffer the entire body in memory and be `OOMKilled`. Because this runs in istiod's default JWKS fetch mode and the background refresher re-fetches the malicious endpoint after every restart, istiod enters a crash loop and stops distributing configuration to the whole mesh. ### Details In `pilot/pkg/model/jwks_resolver.go`, `getRemoteContentWithRetry` reads the HTTP response body using an unbounded `io.ReadAll(resp.Body)`. Both the HTTP status check and `validateJWKSFormat` run only *after* the full body is read, meaning non-2xx and non-JWKS responses are completely buffered before rejection. Because `io.ReadAll` grows its buffer by doubling, peak heap usage reaches roughly twice the response size. This method serves all three JWKS fetch paths: - `GetPublicKey` (called from `BuildLocalJwks`) - `resolveJwksURIUsingOpenID` (OpenID discovery) - `refresh` (background refresher) The **default configuration is affected**. `PILOT_JWT_ENABLE_REMOTE_JWKS` defaults to `false`, which enables `istiod`-side fetching. Because `istiod` is a shared control plane, a namespace-scoped actor who can create a single `RequestAuthentication`—or an attacker who compromises a legitimate JWKS/Id
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-145370
CVSS 7.7/10 · HIGH · 04.12.2026
CWE: CWE-770
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
istiod's JWKS resolver reads remote JWKS and OpenID discovery HTTP responses with no size limit. A principal able to create or update a RequestAuthentication can point jwksUri (or issuer, for OpenID discovery) at an endpoint that returns an arbitrarily large response, causing istiod to buffer the entire body in memory and be OOMKilled. Because this runs in istiod's default …
Affected: istio.io/istio
⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).
⚠️ Scope changes (S:C) — impact can cross security boundaries.
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down; pivot to other systems possible.
🛡️ REMEDIATION
→ Apply vendor security update for istio.io/istio.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]