CVE-2026-145370: Istio Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-7vw6-2xxx-fch6
CVSS 7.7
CWE-770
Published
Advisory Summary

CVE-2026-145370 is a HIGH (CVSS 7.7) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Istio libraries in the Go ecosystem. The issue involves control-plane dos via unbounded jwks fetch in `requestauthentication`. Remediation is available by upgrading affected packages to version 0.0.0-20261202224451-323fcd3afbb9.

CVE-2026-145370 at a Glance

CVE Identifier CVE-2026-145370
GHSA Identifier GHSA-7vw6-2xxx-fch6
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Istio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-145370

To remediate this vulnerability, upgrade all affected Istio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

istio.io/istio fixed: 0.0.0-20261202224451-323fcd3afbb9
Upgrade istio.io/istio to 0.0.0-20261202224451-323fcd3afbb9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for istio.io/istio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-145370, inspect your project dependencies for Istio:

inspect dependencies for istio.io/istio

Analyze the terminal output to locate any version of Istio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20261202224451-323fcd3afbb9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Istio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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): ```yaml 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. ### 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.

CVE-2026-145370 Affected Istio Versions

1 component(s)
Fixed Versions:
0.0.0-20261202224451-323fcd3afbb9
Product / Package Ecosystem Affected Versions Fixed Version
istio.io/istio
Go
≥ 0.0.0-20260112152740-3af7534ca9a9
< 0.0.0-20261202224451-323fcd3afbb9
0.0.0-20261202224451-323fcd3afbb9

References

Frequently Asked Questions

What is CVE-2026-145370?
CVE-2026-145370 is a security vulnerability in Istio involving Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication` under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Istio versions are affected?
Affected versions include releases prior to 0.0.0-20261202224451-323fcd3afbb9 across affected packages: istio.io/istio.
What version fixes CVE-2026-145370?
Upgrading to 0.0.0-20261202224451-323fcd3afbb9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is istio.io/istio affected?
Yes, istio.io/istio is affected in releases prior to 0.0.0-20261202224451-323fcd3afbb9. Upgrade your dependency to 0.0.0-20261202224451-323fcd3afbb9 or later.
What is the CVSS score of CVE-2026-145370?
CVE-2026-145370 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2026-145370?
CVE-2026-145370 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Go dependencies for CVE-2026-145370?
Run the dependency tree command: 'inspect dependencies for istio.io/istio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7vw6-2xxx-fch6",
  "modified" : "2026-12-04T22:52:55Z",
  "published" : "2026-12-04T22:52:55Z",
  "aliases" : [ "CVE-2026-145370" ],
  "summary" : "Istio: Control-plane DoS via unbounded JWKS fetch in `RequestAuthentication`",
  "details" : "### Summary\n\nistiod'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.\n\n### Details\n\nIn `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.\n\nThis method serves all three JWKS fetch paths:\n- `GetPublicKey` (called from `BuildLocalJwks`)\n- `resolveJwksURIUsingOpenID` (OpenID discovery)\n- `refresh` (background refresher)\n\nThe **default configuration is affected**. `PILOT_JWT_ENABLE_REMOTE_JWKS` defaults to `false`, which enables `istiod`-side fetching.\n\nBecause `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.\n\n**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.\n\nFixes are available in 1.30.9, 1.31.5, and 1.32.1.\n\n### Workaround\n\nUpgrading to a patched version is recommended, as no pre-fix configuration disables the unbounded read. The following partial mitigations reduce exposure with trade-offs:\n\n- **Restrict RBAC:** Limit `RequestAuthentication` (`security.istio.io/v1`) creation and updates to trusted operators.\n- *Trade-off:* Removes self-service for namespace tenants and does not protect against a compromised legitimate JWKS/IdP endpoint.\n- **Shift fetching to Envoy:** Set `PILOT_JWT_ENABLE_REMOTE_JWKS=envoy` to move JWKS fetching from `istiod` to the data plane.\n- *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.\n\nSetting a memory limit on `istiod` does not mitigate the issue; an oversized response will still exceed the limit and trigger a crash loop.\n\n### Proof of concept\n\nIn 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):\n\n```yaml\napiVersion: security.istio.io/v1\nkind: RequestAuthentication\nmetadata:\n  name: oom\n  namespace: tenant-a\nspec:\n  jwtRules:\n    - issuer: \"[https://attacker.example](https://attacker.example)\"\n      jwksUri: \"[http://oversized-jwks.tenant-a.svc.cluster.local/jwks](http://oversized-jwks.tenant-a.svc.cluster.local/jwks)\" # streams ~1.5 GiB\n```\n\n- **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.\n- **Expected (patched):** Responses exceeding `PILOT_JWKS_RESOLVER_MAX_RESPONSE_BYTES` (default `1 MiB`) are rejected without being fully buffered, keeping `istiod` memory bounded.\n\n### Impact\n\nThis 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "istio.io/istio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20260112152740-3af7534ca9a9"
      }, {
        "fixed" : "0.0.0-20261202224451-323fcd3afbb9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/security/advisories/GHSA-7vw6-2xxx-fch6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/3a80c2e020ce5ba8c096423e78a4e59ed5b20101"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/8abc60d84f03f4d0087dca74b9835a2c25bac747"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/commit/c1bbe7a88404e66a3761a735815515bac6588704"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/istio/istio"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.30.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.31.5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/istio/istio/releases/tag/1.32.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-04T22:52:55Z",
    "nvd_published_at" : null
  }
}