Security-updated kubernetes/ingress-nginx v1.15.1 Docker image built with NGINX 1.31.9 (fixes CVE-2026-123007 & CVE-2026-123633)
A security-updated, ready-to-run Docker image for the archived kubernetes/ingress-nginx controller (controller-v1.15.1), rebuilt with NGINX 1.31.9 (released November 18, 2026), ModSecurity v3.0.17, Go 1.27 (with patched google.golang.org/grpc v1.85.0 and golang.org/x/crypto v0.59.0), and Alpine 3.24.4.
Note:
kubernetes/ingress-nginxwas officially archived on March 24, 2026 (v1.15.1was the final upstream release, still bundling NGINX1.27.1). This repository provides a drop-in patched container image to remediate the November 2026 critical NGINX RCE vulnerabilities while you plan a migration to Gateway API or an actively maintained ingress controller.
Upgrading NGINX from 1.27.1 to 1.31.9 (alongside OpenResty 1.31.8.1-aligned modules, Alpine 3.23.8, OWASP CRS v4.29.0, and njs 1.0.2) remediates the November 18, 2026 "NGINX2Root" vulnerabilities and all prior 2025/2026 NGINX CVEs:
| CVE | Component | Impact | Fixed in |
|---|---|---|---|
| CVE-2026-123007 | HTTP/2 flow control (ngx_http_v2_module) | Integer/heap buffer overflow → unauthenticated RCE / DoS | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-123633 | HTTP/2 upstream proxying (ngx_http_v2_module) | Use-after-free under connection pressure → RCE / DoS | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-123634 | DNS resolver | Use-after-free | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-121810 | HTTP/3 (ngx_http_v3_module) | Use-after-free | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-125283 | alias + try_files | Buffer overflow (also neutralized by 00_drop-alias-root.patch) | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-118899 | TLS 1.3 request body reading | Infinite loop (DoS) | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-113425 | Mail proxy module | Use-after-free (module also disabled at compile time) | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-120993 | PROXY protocol v2 | NULL pointer dereference | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-120967 / 123640 | Stream & SSL preread | Validation bypasses | NGINX 1.30.7 / 1.31.9 |
| CVE-2026-30923 / 52747 / 52761 / 73856 / 104269 | ModSecurity (libmodsecurity3) | Worker DoS (t:hexDecode), multipart/RFC 2231/response WAF bypasses | ModSecurity v3.0.17 |
| CVE-2026-33186 / 84445 / 84304 | google.golang.org/grpc | HTTP/2 :path authz bypass, xDS DoS, heap exhaustion | grpc v1.85.0 |
| CVE-2026-56854 / 46595 / 39833 / 42508 / 46598 | golang.org/x/crypto | SSH/keyring constraint bypasses & signature panics | x/crypto v0.59.0 |
| CVE-2026-4342 | ingress-nginx controller | Annotation / config injection RCE | controller-v1.15.1 |
nginx/build.sh for all 28 downloaded source tarballs (upstream had checksum verification commented out).controller-v1.15.1 (0a5901f3c64f11e92e487799b8da3f00cca37515) verified during build.00_drop-alias-root.patch updated for NGINX 1.31.9 to strip the root and alias directives from NGINX core.3.24.4, runs as www-data (UID 101), cap_net_bind_service=+ep only, libcap removed after setcap, no compilers or static .a libraries in the final image.deploy/networkpolicy.yaml restricts admission webhook port 8443 to the control plane (kube-system).linux/amd64 and linux/arm64 (including dynamic musl linker path /etc/ld-musl-$(uname -m).path).docker build -t nginx-ingress-controller:v1.15.1-nginx1.31.9 .
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t ghcr.io/githubcdr/nginx-ingress-controller:v1.15.1-nginx1.31.9 \
--push .
# Confirm NGINX 1.31.9 and compiled modules
docker run --rm --entrypoint nginx nginx-ingress-controller:v1.15.1-nginx1.31.9 -V
# Confirm controller version
docker run --rm nginx-ingress-controller:v1.15.1-nginx1.31.9 /nginx-ingress-controller --version
# Confirm non-root UID 101
docker run --rm --entrypoint id nginx-ingress-controller:v1.15.1-nginx1.31.9 -u
# Confirm 'root' directive is stripped (should report: unknown directive "root")
docker run --rm --entrypoint sh nginx-ingress-controller:v1.15.1-nginx1.31.9 -c \
'printf "events{} http{ server{ location / { root /etc; } } }\n" > /tmp/root-test.conf && nginx -t -c /tmp/root-test.conf'
Use deploy/helm-values.yaml to swap the image in an existing ingress-nginx Helm release:
helm upgrade ingress-nginx ingress-nginx/ingress-nginx \
--namespace ingress-nginx \
--reuse-values \
-f deploy/helm-values.yaml \
--set controller.image.registry=ghcr.io \
--set controller.image.image=githubcdr/nginx-ingress-controller \
--set controller.image.tag=v1.15.1-nginx1.31.9
A GitHub Actions workflow is included at .github/workflows/build-and-scan.yml that:
nginx/1.31.9, root directive rejection, controller --version, non-root UID 101).CRITICAL,HIGH).linux/amd64, linux/arm64) images to GHCR on pushes to main or v* tags.