Ruby2Shell (GHSA-34m4-m9fh-gqp5) and Nginx2Root (CVE-2026-123007) response

AI-generated summary

David announced critical vulnerabilities in NGINX (CVE-2026-123007) and Ruby (GHSA-34m4-m9fh-gqp5). For users of managed Discourse.org hosting, no action is required as Ruby has been updated to version 4.0.10 and Nginx patches applied for defense-in-depth. Self-hosted users are urged to update immediately via the /admin/update interface and perform a CLI rebuild.

To verify the installation is patched, administrators can run ./launcher enter app followed by cat /VERSION. A version string of 2.0.20261119 or higher indicates the fixes are present. Jonathan5 noted a point of confusion where the version showed exactly 2.0.20261119, but clarified that the underlying Docker image tag (2.0.20261119-0203) and specific binary versions (Ruby 4.0.10, Nginx 1.26.3) confirmed the patch was applied. David acknowledged the ambiguity and updated the original post to clarify that “or higher” includes the base version with additional suffixes.

Critical vulnerabilities have been disclosed this week in NGINX and Ruby.

If you use our managed discourse.org hosting, no action is required. Ruby has been updated to 4.0.10. Our particular use of Nginx was not vulnerable, but we have applied the patches for defense-in-depth.

If you self-host Discourse, you should update as soon as possible. In a standard install, visit /admin/update and follow the instructions to perform a CLI rebuild.

If you’d like to verify you have the latest version of our docker image, run these commands:

./launcher enter app
cat /VERSION

If the image version is 2.0.20261119 or higher, then you have the fixed version of Ruby (4.0.10), and a patched version of NGINX.

15 Likes

After rebuild that command showed exactly 2.0.20261119, which initially confused me, but

  • docker images discourse/base shows discourse/base:2.0.20261119-0203 (which I guess counts as greater than 2.0.20261119)
  • ruby -v (inside the container) shows ruby 4.0.10 (2026-11-19 revision a704b7cd95) +PRISM \[x86_64-linux\]
  • nginx -v (inside the container) shows nginx version: nginx/1.26.3
1 Like

Right, my mistake. I’ve updated the OP to: