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

Published Dec 4, 2026
·
Updated

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/jwksresolver.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. PILOTJWTENABLEREMOTEJWKS 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 PILOTJWTENABLEREMOTEJWKS=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):

yaml apiVersion: security.istio.io/v1 kind: RequestAuthentication metadata: name: oom namespace: tenant-a spec: jwtRules: - issuer: "https://attacker.example" jwksUri: "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 PILOTJWKSRESOLVERMAXRESPONSEBYTES (default 1 MiB) are rejected without being fully buffered, keeping istiod memory bounded.

Impact

This is a denial-of-service (DoS) vulnerability affecting the availability of the istiod control plane in its default configuration. An actor with namespace-scoped RBAC to create/update RequestAuthentication (or control over a referenced JWKS/IdP endpoint) can force istiod into a crash loop, halting configuration distribution across the entire mesh. No user interaction is required. Confidentiality and integrity are not directly impacted.

Other sources

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/jwksresolver.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 PILOTJWTENABLEREMOTEJWKS=false configuration is affected. This issue is fixed in versions 1.30.9, 1.31.5, and 1.32.1.

— MITRE

Affected Software

2 affected componentsFixes available
Istio Istio<1.30.9, <1.31.5, <1.32.1
go/istio.io/istio>=0.0.0-20260112152740-3af7534ca9a9<0.0.0-20261202224451-323fcd3afbb9
0.0.0-20261202224451-323fcd3afbb9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/istio.io/istio to a version that resolves this vulnerability.

    Fixed in 0.0.0-20261202224451-323fcd3afbb9
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.30.9
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.31.5
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.32.1
  5. Configuration

    Set PILOT_JWT_ENABLE_REMOTE_JWKS=envoy to move JWKS fetching from istiod to Envoy; ensure every proxy has network egress to JWKS endpoints.

    Istio PILOT_JWT_ENABLE_REMOTE_JWKS = envoy
  6. Compensating control

    Restrict creation and updates of RequestAuthentication (security.istio.io/v1) to trusted operators.

Event History

Dec 4, 2026
CVE Published
via MITRE·09:49 PM
Data Sourced
via MITRE·09:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·10:52 PM
Data Sourced
via GitHub·10:52 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can trigger the denial of service?

A principal that can create or update an Istio RequestAuthentication resource can trigger it. They can set jwksUri or issuer to an endpoint serving an arbitrarily large response.

2

Are default Istio deployments affected?

Yes. The issue affects the default configuration where PILOT_JWT_ENABLE_REMOTE_JWKS=false.

3

What happens after a malicious JWKS or OpenID endpoint is configured?

Istiod reads the remote response without a size limit before validating its HTTP status or JWKS content, which can exhaust memory and cause OOMKilled restarts. The background refresher continues fetching the endpoint, so restarts can recur.

4

Which versions contain the fix?

The issue is fixed in Istio 1.30.9, 1.31.5, and 1.32.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203