From f2424206884075c0162b1847b5bfaabac96de6c0 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 15:27:14 +0100 Subject: [PATCH 1/5] Disable HTTP/2 in demo-values.yaml Disable HTTP/2 to mitigate CVE-2026-123007. --- values/ingress-nginx-controller/demo-values.example.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/values/ingress-nginx-controller/demo-values.example.yaml b/values/ingress-nginx-controller/demo-values.example.yaml index 6e8b1405c..f0464aba6 100644 --- a/values/ingress-nginx-controller/demo-values.example.yaml +++ b/values/ingress-nginx-controller/demo-values.example.yaml @@ -12,6 +12,8 @@ ingress-nginx: # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical + # Mitigate CVE-2026-123007 / nginx2root by disabling HTTP/2 + use-http2: false image: tag: "v1.13.9" digest: "" From f4ee9549a20d8d113005c864be5f9061f3d6d09b Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 15:34:19 +0100 Subject: [PATCH 2/5] fix(security): mitigate CVE-2026-123007 source: https://equixly.com/blog/2026/11/18/nginx2root-disabling-http-2-stops-two-of-five-nginx-rce-flaws/ --- values/ingress-nginx-controller/load-balancer.example.yaml | 2 ++ values/ingress-nginx-controller/prod-values.example.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/values/ingress-nginx-controller/load-balancer.example.yaml b/values/ingress-nginx-controller/load-balancer.example.yaml index 18f2696d4..fc6de61bc 100644 --- a/values/ingress-nginx-controller/load-balancer.example.yaml +++ b/values/ingress-nginx-controller/load-balancer.example.yaml @@ -8,6 +8,8 @@ ingress-nginx: # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical + # Mitigate CVE-2026-123007 / nginx2root by disabling HTTP/2 + use-http2: false image: tag: "v1.13.9" digest: "" diff --git a/values/ingress-nginx-controller/prod-values.example.yaml b/values/ingress-nginx-controller/prod-values.example.yaml index b6090feeb..420550a73 100644 --- a/values/ingress-nginx-controller/prod-values.example.yaml +++ b/values/ingress-nginx-controller/prod-values.example.yaml @@ -12,6 +12,8 @@ ingress-nginx: # *-snippet annotations (risk "Critical"), e.g. the minio, nginz and # federator ingresses of nginx-ingress-services. annotations-risk-level: Critical + # Mitigate CVE-2026-123007 / nginx2root by disabling HTTP/2 + use-http2: false image: tag: "v1.13.9" digest: "" From faa2f09c472fa1891cf6279059ed6c06e5144ce7 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 15:36:19 +0100 Subject: [PATCH 3/5] chore: add changelog note --- changelog.d/5-bug-fixes/mitigate-cve-2026-123007 | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/5-bug-fixes/mitigate-cve-2026-123007 diff --git a/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 b/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 new file mode 100644 index 000000000..5de57f87d --- /dev/null +++ b/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 @@ -0,0 +1 @@ +Fixed: mitigate CVE-2026-123007 by disabling HTTP/2 on the Nginx ingress \ No newline at end of file From 2b28222c28c693bb130ccff5ab833e4f9c614af9 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 15:40:27 +0100 Subject: [PATCH 4/5] Update changelog for CVE-2026-123007 mitigation --- changelog.d/5-bug-fixes/mitigate-cve-2026-123007 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 b/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 index 5de57f87d..e35d49f6a 100644 --- a/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 +++ b/changelog.d/5-bug-fixes/mitigate-cve-2026-123007 @@ -1 +1 @@ -Fixed: mitigate CVE-2026-123007 by disabling HTTP/2 on the Nginx ingress \ No newline at end of file +Security: mitigate CVE-2026-123007 by disabling HTTP/2 on the Nginx ingress From a98aca9b626fe41917d0d0a68e28116ceea2b723 Mon Sep 17 00:00:00 2001 From: Leonhardt Wille Date: Thu, 19 Nov 2026 16:05:22 +0100 Subject: [PATCH 5/5] docs(security): add use-http2 to ingress-nginx upgrade guide Existing installations edit their own values.yaml following offline/upgrades/ingress-nginx-controller-v1.13.md, so the CVE-2026-123007 mitigation must be listed there: required keys, expected dry-run output and two checks (ConfigMap and client-side HTTP version). Add a release note so operators see that they need to change their values; the 5-bug-fixes entry alone does not call for action. --- changelog.d/0-release-notes/mitigate-cve-2026-123007 | 1 + offline/upgrades/ingress-nginx-controller-v1.13.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 changelog.d/0-release-notes/mitigate-cve-2026-123007 diff --git a/changelog.d/0-release-notes/mitigate-cve-2026-123007 b/changelog.d/0-release-notes/mitigate-cve-2026-123007 new file mode 100644 index 000000000..bf019b2d1 --- /dev/null +++ b/changelog.d/0-release-notes/mitigate-cve-2026-123007 @@ -0,0 +1 @@ +Security: set `controller.config.use-http2: false` (under `ingress-nginx:`) in your own `values/ingress-nginx-controller/values.yaml` to mitigate CVE-2026-123007; this disables HTTP/2 on the ingress, clients fall back to HTTP/1.1. The `*.example.yaml` files already contain it. Apply with `helm upgrade ingress-nginx-controller` and verify as described in `offline/upgrades/ingress-nginx-controller-v1.13.md` diff --git a/offline/upgrades/ingress-nginx-controller-v1.13.md b/offline/upgrades/ingress-nginx-controller-v1.13.md index 8f417adcd..b509133f4 100644 --- a/offline/upgrades/ingress-nginx-controller-v1.13.md +++ b/offline/upgrades/ingress-nginx-controller-v1.13.md @@ -1,6 +1,6 @@ # Upgrade ingress-nginx controller to v1.13.9 (wire-server 5.25) -Fixes known CVEs in the ingress-nginx controller image shipped with wire-server-deploy 5.25 (WPB-26631). +Fixes known CVEs in the ingress-nginx controller image shipped with wire-server-deploy 5.25 (WPB-26631) and mitigates CVE-2026-123007 by disabling HTTP/2. ## Scope @@ -10,6 +10,7 @@ Fixes known CVEs in the ingress-nginx controller image shipped with wire-server- | Controller image (`registry.k8s.io/ingress-nginx/controller`) | `v1.10.6` (values) | `v1.13.9` | | Admission webhook image (`registry.k8s.io/ingress-nginx/kube-webhook-certgen`) | `v20220916-gd32f8c343` | `v1.6.9` | | `controller.config.annotations-risk-level` | not set (controller default) | `Critical` | +| `controller.config.use-http2` | not set (HTTP/2 enabled) | `false` (mitigates CVE-2026-123007) | - No other chart or image changes. wire-server stays on 5.25.0. - Supported Kubernetes versions: 1.29 – 1.33. The 5.25 bundle installs Kubernetes v1.29.10. @@ -25,6 +26,7 @@ Fixes known CVEs in the ingress-nginx controller image shipped with wire-server- - with admission webhook: `helm upgrade nginx-ingress-services` fails with `admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: annotation group ServerSnippet contains risky annotation based on ingress configuration`. - without admission webhook: the controller ignores these ingresses and serves its fake default certificate. - `annotations-risk-level` is a setting of the **ingress-nginx-controller** release (`ingress-nginx.controller.config`). Setting it on the `nginx-ingress-services` release (e.g. `--set controller.config.annotations-risk-level=...`) has no effect. +- `use-http2: false` disables HTTP/2 on the ingress to mitigate CVE-2026-123007. Clients fall back to HTTP/1.1. Same release and key path as `annotations-risk-level`. ## Prerequisites @@ -85,6 +87,7 @@ ingress-nginx: controller: config: annotations-risk-level: Critical + use-http2: false image: tag: "v1.13.9" digest: "" @@ -113,7 +116,7 @@ Expected: only your environment-specific differences. ```bash d helm template ingress-nginx-controller ./charts/ingress-nginx-controller -n \ -f values/ingress-nginx-controller/values.yaml \ - | grep -E 'image: |annotations-risk-level|allow-snippet-annotations' + | grep -E 'image: |annotations-risk-level|allow-snippet-annotations|use-http2' ``` Expected: @@ -121,6 +124,7 @@ Expected: ``` allow-snippet-annotations: "true" annotations-risk-level: "Critical" + use-http2: "false" image: registry.k8s.io/ingress-nginx/controller:v1.13.9 image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.9 image: registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.6.9 @@ -152,6 +156,8 @@ SEL="app.kubernetes.io/instance=ingress-nginx-controller,app.kubernetes.io/compo | 1 | Pods ready | `d kubectl get pods -n -l "$SEL"` | All `Running`, `READY` 1/1 | | 2 | Controller version | `d kubectl exec -n $(d kubectl get pod -n -l "$SEL" -o name \| head -1) -- /nginx-ingress-controller --version` | `Release: v1.13.9` | | 3 | Risk level active | `d kubectl get cm -n ingress-nginx-controller-controller -o jsonpath='{.data.annotations-risk-level}'` | `Critical` | +| 3a | HTTP/2 disabled (config) | `d kubectl get cm -n ingress-nginx-controller-controller -o jsonpath='{.data.use-http2}'` | `false` | +| 3b | HTTP/2 disabled (client) | `curl -s -o /dev/null --http2 -w '%{http_version}\n' https://nginz-https./api-version` | `1.1` (not `2`) | | 4 | No rejected ingresses | `d kubectl logs -n -l "$SEL" --tail=-1 \| grep -Ei 'risky\|too risky\|cannot be used'` | No output | | 5 | Ingresses | `d kubectl get ingress -n ` | `ADDRESS` populated for all ingresses | | 6 | API | `curl -s https://nginz-https./api-version` | JSON with `supported` versions |