thehackernews.com 5/14/2026, 6:50:34 AM · via preferred

NGINX Rift Bug Lets Attackers Run Code Remotely via Malicious URI

CVE-2026-42945: NGINX Rewrite Bug Allows Remote Code Execution

CVE-2026-42945 is a heap memory corruption issue in NGINX’s rewrite module (ngx_http_rewrite_module) that can lead to a heap-based buffer overflow during rewrite processing. The vulnerability is remotely reachable over HTTP and can be triggered without authentication when specific rewrite-rule patterns are present, making internet-facing NGINX reverse…

First seen 2026-05-14T06:50:34.789Z · Last seen 2026-05-14T12:31:41.052Z

CyberSIXT Evidence Panel
Primary Source depthfirst.com
CVE Intel
CISA KEV Not in KEV
Patch Patch Available

ACCORDING to depthfirst, researchers disclosed a heap buffer overflow in the ngx_http_rewrite_module (CVE-2026-42945, CVSS v4 score: 9.2) that could enable unauthenticated remote code execution or a DoS condition, by crafting a specific URI in NGINX Plus or NGINX Open Source.

The vulnerability, nicknamed NGINX Rift, is exploitable without authentication and, if ASLR is disabled, could allow code execution in the NGINX worker process; an attacker could even force a restart or degrade availability with repeated requests.

The issue was addressed in multiple products and versions after responsible disclosure on 21 April 2026, including NGINX Plus R32–R36, NGINX Open Source 1.0.0–1.30.0, and NGINX Open Source 0.6.27–0.9.7, among others, with fixes introduced in specific patch levels such as R32 P6 and R36 P4 or in versions 1.30.1 and 1.31.0. depthfirst’s advisory notes that the vulnerability

arises when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed PCRE capture with a replacement string containing a question mark. Users are advised to apply the latest versions or, if patching cannot be immediate, to replace unnamed captures with named captures in affected rewrite directives to mitigate risk.

View Primary Source Via thehackernews.com

Article by CyberSIXT

Timeline Coverage

Swipe to explore timeline