nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

[Security] Upgrade underlying NGINX base image to patch critical CVEs (CVE-2026-15176, CVE-2026-97205, CVE-2026-93479)

Open mdrbx opened this issue 1 month ago • 26 comments

Summary

F5 / NGINX released out-of-band security updates addressing three critical vulnerabilities affecting NGINX Open Source (CVSS v4.0 score: 9.2 / 10).

Because Nginx Proxy Manager uses NGINX as its core proxying engine, updating the underlying NGINX package/base image is required to mitigate potential Remote Code Execution (RCE) or Denial of Service (DoS) risks.

Vulnerability Details

  • CVE-2026-15176 (CVSS 9.2): Heap-based buffer overflow affecting the NGINX alias and rewrite directives. Can allow an unauthenticated remote attacker to crash worker processes (DoS) or potentially execute remote code under certain conditions.
  • CVE-2026-97205 (CVSS 9.2): Use-after-free vulnerability affecting asynchronous file I/O (AIO) and Server Side Includes (SSI). Can lead to memory corruption, process crash, or potential remote code execution.
  • CVE-2026-93479 (CVSS 9.2): Heap-based buffer overflow affecting the NGINX map directive. Can allow an unauthenticated remote attacker to crash worker processes or execute code.

Affected Versions

  • NGINX Open Source versions <= 1.30.5 and <= 1.31.6.

Recommended Action

  1. Update the base image / NGINX binaries used in the Dockerfile to a patched version.
  2. Trigger a new build and release tag for Nginx Proxy Manager.

References

  • CSA Security Advisory (AL-2026-150): https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-150/
  • F5 Security Article: https://my.f5.com/manage/s/article/K000162416
  • NVD Detail: https://nvd.nist.gov/vuln/detail/cve-2026-15176

mdrbx avatar Oct 22 '26 07:10 mdrbx

NPM cannot be updated until OpenResty releases a patch.

It's already on master: https://github.com/openresty/openresty/commit/dfb9129793a6e054e00c69f0b6fbbca826c6616f

Related issues:

  • https://github.com/openresty/openresty/issues/1144
  • https://github.com/openresty/openresty/issues/1136
  • https://github.com/openresty/openresty/issues/1142
  • https://github.com/openresty/openresty/issues/1119
  • https://github.com/openresty/openresty/issues/1123
  • https://github.com/openresty/openresty/issues/1128

ArnyminerZ avatar Oct 23 '26 05:10 ArnyminerZ

Recommended Action

1. Update the base image / NGINX binaries used in the Dockerfile to a patched version.

2. Trigger a new build and release tag for Nginx Proxy Manager.

Is this a thing that we can do by ourselves? Might someone explains how?

posta246 avatar Oct 23 '26 08:10 posta246

Is this a thing that we can do by ourselves?

No, NPM is based on OpenResty, they have to release a fix first, watch tags here: https://hub.docker.com/r/openresty/openresty/tags

ArnyminerZ avatar Oct 23 '26 12:10 ArnyminerZ

@ArnyminerZ there have been new tags deployed one hour ago.

kR1StYaN avatar Oct 23 '26 17:10 kR1StYaN

but not solving CVE problems.

paulocarinhena avatar Oct 23 '26 17:10 paulocarinhena

Is there any changes?

byorial avatar Oct 26 '26 00:10 byorial

Well, jc21 stated that he is in holidays and asked someone to push for a PR here : https://www.reddit.com/r/nginxproxymanager/comments/1xccx2k/5_fresh_cves_with_nginx_to_be_taken_care_of/

I don't want to mess with that, but I quite get people needs time off. So I guess no worry, these vuln are quite hard to use anyway.

mdrbx avatar Oct 26 '26 08:10 mdrbx

good idea for now is not publish interface port and leave it locally (for now or for ever)

karlikos avatar Oct 26 '26 09:10 karlikos

To help speed this up, since the change is simple, I opened a PR that bumps OpenResty to v1.31.8.1 (nginx 1.31.8) in the base image:

https://github.com/NginxProxyManager/docker-nginx-full/pull/41

It's the same 3-line version bump as the previous OpenResty update. I tested it on amd64 and arm64: all base images build, the repo's test.sh passes, and the NPM Cypress suite on the new base gives the same results as on the current base. Once it's merged and the base image is published, NPM just needs a rebuild/release.

paulocarinhena avatar Oct 26 '26 19:10 paulocarinhena

The current docker image also uses node.js 22.23.2 which is affected by CVE-2026-111497. Update to 22.23.4 to fix the vulnerability

Beerman173 avatar Oct 26 '26 20:10 Beerman173

@Beerman173 The base image installs Node.js via NodeSource's setup_22.x, so any rebuild picks up the latest 22.x. Today's builds, both my test run and the Jenkins build for NginxProxyManager/docker-nginx-full#41, already install nodejs 22.23.4. The NPM rebuild for the OpenResty fix will include it with no extra change.

paulocarinhena avatar Oct 26 '26 20:10 paulocarinhena

please update ngiinx-proxy-manager image.

bawoowow-hue avatar Oct 27 '26 00:10 bawoowow-hue

Openrestry just updated. https://hub.docker.com/r/openresty/openresty/tags I'm expecting NPM update.

byorial avatar Oct 28 '26 04:10 byorial

I've built a new image with nginx 1.31.8 and the latest node to fix all recent CVE You can find all infos in #5981 Feel free to use the image nginxproxymanager/nginx-proxy-manager-dev:pr-5981. Don't forget to backup your NPM instance before. Hope it will help !

Alexis-Loskoutoff avatar Oct 29 '26 18:10 Alexis-Loskoutoff

Is this project dead?

paulocarinhena avatar Nov 06 '26 20:11 paulocarinhena

Is this project dead?

No, its maintainer is on vacation, and it has just happened to be at the same time as all the security vulnerabilities reported.

ArnyminerZ avatar Nov 07 '26 10:11 ArnyminerZ

So, could we then conclude that this is not a project to rely on if security is somewhat important for the deployment this project is being used in? Is anything going to change with regards to the maintaner being a SPOF?

Sjustein avatar Nov 07 '26 10:11 Sjustein

Everyone has the right to take some free time. The good thing about open source is that you can fork/download it, and do the patches required if you absolutely need them ahead of time.

ArnyminerZ avatar Nov 07 '26 10:11 ArnyminerZ

@Sjustein You're free to hire the maintainer on a proper, fair fixed salary and put a team of people at his side. Then vacation cover and so on would be taken care of too.

Don't feel like spending money on that? Then you should rethink your attitude and just apply the patch (the one linked above) yourself, until there's an official new version.

Sacred-Shadow avatar Nov 07 '26 10:11 Sacred-Shadow

Sure sure, I think the tone of my message is a bit misunderstood. I was under the impression that this was a larger project than it is and feel like the project would benefit from that being addressed. Of course everyone has the right for some free time, but I feel like it would be better if there were multiple people that could merge at least these kinds of security patches to the project. Then, everyone can get their free time, while security updates like this are still merged quickly!

Also, spending money on a project is no problem, great applications deserve donations. The point of my message was not to talk down the project or whatever, but I'm still wondering if we could do anything to fix the maintainer being a SPOF issue. It's probably off-topic though, just let me know where I should inquire about this. Again, my intention was not to downtalk the project or the maintainer, merely to address/inquire about this issue.

Sjustein avatar Nov 07 '26 10:11 Sjustein