Repository navigation
Conversation
jwilder/nginx-proxy 1.11.6 is still the latest nginx-proxy release and ships nginx 1.31.3. nginx 1.31.6 and 1.31.7 fixed six CVEs since then, among them CVE-2026-93479, a buffer overflow while evaluating string expressions with variables, which covers the variable-based vhost log_format every proxied site uses. The build-time apt-get upgrade can't pick up nginx because the official nginx image removes its nginx.org apt source. Re-add the nginx.org mainline source after the Debian upgrade, install the same pinned package set as the official nginx:1.31.8 image (nginx and its xslt, geoip, image-filter, njs and acme modules), and remove the source again. Drop this once an nginx-proxy release ships nginx 1.31.8 or newer; a newer base makes the pinned install fail instead of downgrading.
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
jwilder/nginx-proxy:1.11.6(2026-07-16) is still the latest nginx-proxy release, and it ships nginx 1.31.3. Upstreammainis on 1.31.6 and the 1.31.7/1.31.8 bumps are still open there, so no release has the fixes yet.nginx security fixes since 1.31.3 (https://nginx.org/en/CHANGES):
vhostlog_format is variable-based), CVE-2026-15176 (aliasafterrewrite), CVE-2026-95101 (HTTP/3), CVE-2026-97629 (TLS session ticket rotation; we setssl_session_tickets off), CVE-2026-97205 (AIO with SSI).The
apt-get upgradefrom #369 doesn't reach nginx because the official nginx image removes its nginx.org apt source. This re-adds the source (signed by the keyring the base image keeps), installs the same pinned set as the officialnginx:1.31.8image (nginx 1.31.8 with xslt, geoip, image-filter, njs 1.0.2 and acme 0.4.1 modules), and removes the source again.NGINX_VERSION/NJS_VERSIONare updated so the image env matches what's installed.Once an nginx-proxy release ships nginx 1.31.8 or newer, bump the FROM and drop this block. With a newer nginx in the base, the pinned install fails instead of downgrading.
Testing
nginx -v1.31.8 (develop builds 1.31.3), the same configure arguments as before plus 1.31.8's new built-ins,nginx -tpasses, ournginx.confis unchanged after the upgrade,apt list --upgradableis empty and no nginx.org source is left in the image.htpasswd, docker-gen 0.17.2 and forego present,/version.confunchanged; the default page is served withX-Powered-By: EasyEngine v4.nginx.tmplfor a backend withVIRTUAL_HOST=smoke.test,nginx -tpasses, and a request withHost: smoke.testthrough the proxy reaches the backend.Summary by CodeRabbit