Critical NGINX Vulnerabilities 'nginx2root' Enable Remote Code Execution
Two flaws in NGINX core module allow unauthenticated attackers to execute code and potentially gain root access on unpatched servers.

Key Takeaways
- Two critical CVEs (CVE-2025-1094, CVE-2025-1095) affect NGINX before 1.27.1 and 1.26.2.
- Flaws enable unauthenticated remote code execution in the NGINX core module.
- Researchers demonstrated chaining with a Linux kernel vulnerability to achieve root access.
- No confirmed widespread in-the-wild exploitation at time of disclosure.
- Update to NGINX 1.27.1 or 1.26.2 or later to mitigate.
Quick answers
- What happened?
- Researchers from Qualys Threat Research Unit disclosed two critical vulnerabilities in the NGINX web server, tracked as CVE-2025-1094 and CVE-2025-1095. The flaws affect NGINX versions prior to 1.27.1 and 1.26.2 and could allow unauthenticated remote code execution. Demonstrated chaining with a Linux kernel vulnerability could lead to full server compromise and root access.
- Which products are affected?
- NGINX web server, NGINX Plus
- What should defenders do?
- Update NGINX to version 1.27.1 or 1.26.2 or later. Apply the vendor advisory NGINX-2026-001. Additionally, enforce kernel hardening and principle-of-least-privilege configurations to reduce the impact of potential chaining attacks.
Qualys researchers have identified two critical vulnerabilities in NGINX, a widely deployed web server and reverse proxy. The flaws, assigned CVE-2025-1094 and CVE-2025-1095, reside in the NGINX core module and affect open-source NGINX and NGINX Plus versions released before 1.27.1 and 1.26.2 respectively.
The vulnerabilities allow unauthenticated remote attackers to execute arbitrary code on vulnerable servers. Qualys demonstrated that these NGINX flaws can be chained with a Linux kernel bug to achieve root-level access, hence the "nginx2root" moniker. While no widespread in-the-wild exploitation was reported at the time of disclosure, the chaining potential significantly raises the risk profile for exposed deployments.
NGINX has released patches in versions 1.27.1 and 1.26.2. The vendor assigned the internal track NGINX-2026-001 to address the issues. Affected organizations are urged to update to the patched releases immediately and review kernel hardening measures to mitigate chaining attacks.
Security Details
The vulnerabilities affect the NGINX core module and allow unauthenticated remote code execution. Qualys researchers showed that chaining these flaws with a Linux kernel vulnerability can lead to full server compromise and root access. The issues are fixed in NGINX 1.27.1 and 1.26.2.
Affected products
NGINX web server, NGINX Plus
Mitigation
Update NGINX to version 1.27.1 or 1.26.2 or later. Apply the vendor advisory NGINX-2026-001. Additionally, enforce kernel hardening and principle-of-least-privilege configurations to reduce the impact of potential chaining attacks.
Sources
BleepingComputer
Critical NGINX ‘NGINX2Root’ bugs let attackers hijack servers
Nov 19, 2026 · 14:57
Original link
Related Security News

Unpatched Cacti Zero-Day Enables Remote Code Execution via Guest Access
A new zero-day vulnerability in the Cacti network monitoring platform has been disclosed, allowing unauthenticated remote code execution. The flaw is exploitable in approximately four HTTP requests from a fresh session. Proof-of-concept code has been circulated under the trackers 4HTTP2SHELL and 4HTTP2ROOT, though no CVE identifier has been assigned yet. The Cacti development team has not released an official fix. Affected deployments, particularly those exposed to the internet, face potential full system compromise.




