CVE-2026-42945
NGINX ngx_http_rewrite_module vulnerability
No known exploitation. EPSS puts it in the 88th percentile. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
What it is
From the CVE record
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
3.4% chance of exploitation activity in the next 30 days, which ranks it in the 88th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising.
Lifecycle
35 events over 134 days, from the signal feeds we watch.
- EPSS band changehigh → lowepss band change
- Patch availableworkaround available, record updated
- Patch availableworkaround available, record updated
- Patch availableworkaround available, record updated
- Patch availableworkaround available, record updated
- Patch availableworkaround available, record updated
Affected products
- NGINX Open SourceNetworking Infrastructure
- NGINX PlusNetworking Infrastructure
- NGINX Instance ManagerNetworking Infrastructure
- F5 WAF for NGINXNetworking Infrastructure
- NGINX App Protect WAFNetworking Infrastructure
- F5 DoS for NGINXNetworking Infrastructure
- NGINX App Protect DoSNetworking Infrastructure
- NGINX Gateway FabricNetworking Infrastructure
- NGINX PlusNetworking Infrastructure / load-balancer-proxy
- NGINX Open SourceNetworking Infrastructure / load-balancer-proxy
- dosNetworking Infrastructure / network-management
- nginx gateway fabricNetworking Infrastructure / load-balancer-proxy
- nginx ingress controllerNetworking Infrastructure / load-balancer-proxy
- nginx instance managerNetworking Infrastructure / load-balancer-proxy
- wafNetworking Infrastructure / network-management
And 4 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 8.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationmedium confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- github.com/depthfirstdisclosures/nginx-rift&
- my.f5.com/manage/s/article/K000161019
- github.com/DepthFirstDisclosures/Nginx-Rift&
And 53 more references. See all after sign-in
In the news
- ⚡ Weekly Recap: Rogue AI Models, $88M Bitcoin Theft, Water-System Attacks and Dangling DNS Hijacks
- Critical NGINX Vulnerability Can Crash Workers and May Allow Remote Code Execution
- В NGINX исправили сразу две критические RCE-уязвимости
- F5 Patches Two Critical NGINX Open Source Flaws Enabling Remote Code Execution
- В фокусе RVD: трендовые уязвимости мая
- 18th May – Threat Intelligence Report
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for NGINX Open Source, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI