Every CVESearch/Get API key

CVE-2026-145370

Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`

Explain with AI
ChatGPTClaudeGoogle AI
Severity
7.7High
Network attack, low privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
Unknown
No source reports an EPSS score yet.
Listed fix
0.0.0-20261202224451-323fcd3afbb9 for istio.io/istio
From GitHub Advisories

Overview

Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

Impact

Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected

Packages 1

Affected packages
PackageAffectedFixed
istio.io/istio
Go
0.0.0-20260112152740-3af7534ca9a9 up to 0.0.0-20261202224451-323fcd3afbb9
0.0.0-20261202224451-323fcd3afbb9

Products 1

Sources

CVE List Score usedCVSS 3.17.7

Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`

Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145370
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-12-04
EUVDEUVD-2026-144859CVSS 3.17.7

Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
EUVD-2026-144859
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Updated
2026-12-04
GitHub AdvisoriesGHSA-7vw6-2xxx-fch6CVSS 3.17.7

Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`

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/IdP endpoint already referenced by one—can exhaust istiod memory for the entire mesh. istiod does not self-heal: on restart, the background refresher re-fetches the same jwksUri, causing repeated OOMKilled events and a CrashLoopBackOff that disrupts configuration distribution to all proxies.

Note: This is distinct from the earlier jwksUri SSRF issue (GHSA-fgw5-hp8f-xfhc / CVE-2026-41413), which concerned where istiod connects rather than the volume of bytes read.

Fixes are available in 1.30.9, 1.31.5, and 1.32.1.

Workaround

Upgrading to a patched version is recommended, as no pre-fix configuration disables the unbounded read. The following partial mitigations reduce exposure with trade-offs:

  • Restrict RBAC: Limit RequestAuthentication (security.istio.io/v1) creation and updates to trusted operators.
  • Trade-off: Removes self-service for namespace tenants and does not protect against a compromised legitimate JWKS/IdP endpoint.
  • Shift fetching to Envoy: Set PILOT_JWT_ENABLE_REMOTE_JWKS=envoy to move JWKS fetching from istiod to the data plane.
  • Trade-off: Mesh-wide behavior change requiring every proxy to have network egress to JWKS endpoints. Note that hybrid/true modes do not mitigate this, as they fall back to istiod for external servers.

Setting a memory limit on istiod does not mitigate the issue; an oversized response will still exceed the limit and trigger a crash loop.

Proof of concept

In a cluster running istiod with a 512Mi memory limit and the default JWKS fetch mode, create a RequestAuthentication pointing jwksUri to an endpoint that streams ~1.5 GiB (any status code or content type works):

apiVersion: security.istio.io/v1
kind: RequestAuthentication
metadata:
  name: oom
  namespace: tenant-a
spec:
  jwtRules:
    - issuer: "[https://attacker.example](https://attacker.example)"
      jwksUri: "[http://oversized-jwks.tenant-a.svc.cluster.local/jwks](http://oversized-jwks.tenant-a.svc.cluster.local/jwks)" # streams ~1.5 GiB
  • Observed: istiod memory climbs to roughly twice the response size, the pod is OOMKilled (exit code 137), and it enters CrashLoopBackOff as the background refresher re-fetches the URI on each restart. Mesh configuration distribution is disrupted.
  • Expected (patched): Responses exceeding PILOT_JWKS_RESOLVER_MAX_RESPONSE_BYTES (default 1 MiB) are rejected without being fully buffered, keeping istiod memory bounded. …
Record
GHSA-7vw6-2xxx-fch6
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-12-04
NVDCVSS 3.17.7

Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145370
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-12-04
OSVCVSS 3.17.7

Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`

Istio is an open platform to connect, manage, and secure microservices. Prior to 1.30.9, 1.31.5, and 1.32.1, getRemoteContentWithRetry in pilot/pkg/model/jwks_resolver.go used unbounded io.ReadAll before HTTP status or JWKS validation for remote JWKS and OpenID discovery responses. A principal able to create or update RequestAuthentication can point jwksUri or issuer at an arbitrarily large response, exhaust istiod memory, and cause recurring OOMKilled restarts because the background refresher re-fetches the endpoint. The default PILOT_JWT_ENABLE_REMOTE_JWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

Record
CVE-2026-145370
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-12-04

The JSON record also has the rest of 1 source description.

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Other IDs, published dateEUVD
ReferencesOSV
Affected packages, other IDs, key facts, referencesGitHub Advisories, NVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open