Skip to content

NGINX Open Source

NGINX ngx_http_rewrite_module vulnerability

CVE-2026-9256Published 22 May 2026, 14:11 UTC

Real-world risk

1.9/ 10Low

Routine

If the vulnerable configuration applies to you: 4.3

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.2

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from f5)

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. An unauthenticated attacker along with conditions beyond their 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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
NGINX Open SourceCommon>= 1.31.0, < 1.31.1; >= 1.30.0, < 1.30.2; >= 0.1.17, <= 0.9.71.31.1, 1.30.2
NGINX PlusCommon>= 37.0, < 37.0.1.1; >= R36, < R36 P5; >= R32, < R32 P737.0.1.1

What to do

Update to a fixed version: 1.31.1, 1.30.2, 37.0.1.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Public proof of concept on GitHub
  • Public proof of concept on GitHub

EPSS 8.3% chance of exploitation in 30 days (percentile 95), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.203
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.2025 × threat 0.951.924
  4. Rounded to one decimal between 0.1 and 101.9

How the score works

Exploitation and evidence timeline

  1. 22 May 2026 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Public proof of concept on GitHub first seen
  4. 3 Dec 2026 Risk 1.9 (cvss fallback)

Weakness

CWE-122

References

Get alerts for NGINX Open Source

Free email or text alerts when a vulnerability in NGINX Open Source reaches risk 8 or higher. Nothing else.