CVE-2026-42946·Nginx vulnerability
A vulnerability exists in the ngx_http_scgi_module and ngx_http_uwsgi_module modules that may result in excessive memory allocation or an over-read of data. When scgi_pass or uwsgi_pass is configured, an unauthenticated attacker with man-in-the-middle (MITM) ability to control responses from an upstream server may be able to read the memory of the NGINX worker process or restart it. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
- Severity
- critical
- Software
- Nginx
- Fixed in
- 1.22.1-9+deb12u8
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.93% — higher than 59% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-42946 scores 9 on CVSS, so a successful attack would be serious — but at 0.93%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 1.22.1-9+deb12u8
Fixed in: 1.22.1-9+deb12u8
How to fix this CVE
Update Nginx to version 1.22.1-9+deb12u8 or later to patch a critical memory safety issue in the SCGI and uWSGI modules. This vulnerability allows attackers positioned between Nginx and upstream application servers to trigger memory disclosure or worker process crashes. Prioritize this update immediately given the critical CVSS rating and potential for sensitive data exposure.
sudo dnf update nginxDefensia detects this vulnerability
How to check if you are affected
- Check installed Nginx version: nginx -v
- Verify if scgi_pass or uwsgi_pass directives are configured: grep -r 'scgi_pass\|uwsgi_pass' /etc/nginx/
- Search Nginx error logs for worker process crashes or segmentation faults: grep -i 'segfault\|worker.*process.*exited\|signal 11' /var/log/nginx/error.log
- Confirm patch applied by verifying new version: nginx -v and checking package version with dpkg -l nginx (Debian/Ubuntu) or rpm -q nginx (RHEL/CentOS)
FAQ
What is CVE-2026-42946?
A critical vulnerability in Nginx's SCGI and uWSGI proxy modules that permits unauthenticated attackers with MITM capabilities to read sensitive worker process memory or cause denial of service through malformed upstream responses.
Is CVE-2026-42946 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are currently available. However, the critical CVSS score warrants immediate patching.
What versions of Nginx are affected by CVE-2026-42946?
All versions prior to 1.22.1-9+deb12u8 are affected. This includes Debian 12 distributions and likely correlates to upstream Nginx versions before the security fix was released.
How do I check if my server is vulnerable to CVE-2026-42946?
Run 'nginx -v' to check your version. If it is below 1.22.1-9+deb12u8 and you have 'scgi_pass' or 'uwsgi_pass' configured in /etc/nginx/nginx.conf or included files, your server is vulnerable.
Does Defensia detect CVE-2026-42946?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Nginx is installed on a monitored server, CVE-2026-42946 will appear in your dashboard with remediation steps.
Related Nginx CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42946. Free for 1 server.
Get started free