F5 NGINX Plus
NGINX ngx_http_rewrite_module vulnerability
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 37.0, < 37.0.1.1
- >= R36, < R36 P5
- >= R32, < R32 P7
Fixed in 37.0.1.1, R36 P5, R32 P7
- >= 1.31.0, < 1.31.1
- >= 1.30.0, < 1.30.2
- >= 0.1.17, <= 0.9.7
Fixed in 1.31.1, 1.30.2
Mitigation
Upgrade NGINX Plus to 37.0.1.1 or R36 P5 or R32 P7 or later.
Upgrade NGINX Open Source to 1.31.1 or 1.30.2 or later.
References
- Vendor advisory my.f5.com/manage/s/article/K000161377
Timeline
Days relative to CVE publicationFirst public PoC 1.5 days after publication; not in CISA KEV. First PoC: suominen/CVE-2026-9256 (created 24 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs · 1 pending
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| suominen/CVE-2026-9256 | 24 May 2026 +1.5 d | 0 | PoC |
| W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256 | 28 May 2026 +5.8 d | 2 | PoC |
| 3nou9h/CVE-2026-9256-Poc | 28 May 2026 +6 d | 3 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| 06-ux/CVE-2026-9256-POC | 3 Jun 2026 +12 d | 1 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| friparia/NGINX_RIFT_SCAN_CVE_2026_42945 | 14 May 2026 −8.4 d | 34 | Pending
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 4 PoC reposGET /api/++++++++++++++++++++++++++++++++...
GET /echo/%25%25%25%25%25A
- Ports
- 19321
- Seen in
- 1 repo: 3nou9h/CVE-2026-9256-Poc
- Evidence
- 3nou9h/CVE-2026-9256-Poc/README.md:150
GET /{var}/git-revision)
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2026-9256
- Evidence
- suominen/CVE-2026-9256/CLAUDE.md:288 suominen/CVE-2026-9256/scripts/auto-update-prompt.txt:57
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\+\.\.\.(?:[?#].*)?$
(?i)^/echo/%25%25%25%25%25A(?:[?#].*)?$
(?i)^/[^/?#]*/git-revision\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [19321] (msg:"GG PoC-Monitor CVE-2026-9256 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/++++++++++++++++++++++++++++++++..."; reference:url,poc.griffinguard.io/cve/CVE-2026-9256; classtype:web-application-attack; sid:9654831; rev:1;)
alert http any any -> $HOME_NET [19321] (msg:"GG PoC-Monitor CVE-2026-9256 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/echo/%25%25%25%25%25A"; reference:url,poc.griffinguard.io/cve/CVE-2026-9256; classtype:web-application-attack; sid:9268201; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2026-9256 F5 NGINX Plus exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/git-revision)"; reference:url,poc.griffinguard.io/cve/CVE-2026-9256; classtype:web-application-attack; sid:9176829; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: F5 NGINX Plus exploit attempt (CVE-2026-9256)
id: gg-pocmon-cve-2026-9256-9654831
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-9256. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-9256
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/++++++++++++++++++++++++++++++++...'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.9256
title: F5 NGINX Plus exploit attempt (CVE-2026-9256)
id: gg-pocmon-cve-2026-9256-9268201
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-9256. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-9256
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/echo/%25%25%25%25%25A'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.9256
title: F5 NGINX Plus exploit attempt (CVE-2026-9256)
id: gg-pocmon-cve-2026-9256-9176829
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-9256. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-9256
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/git-revision)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.9256