BreachSpiderVerified, not vibes

CVE-2026-42945 in Beyond products

High 8.1

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 includ...

Affects 5 products from 4 vendors. Facts below cite their sources.

CVSS 3.18.1
CVSS v49.2
EPSS3.4%
EPSS percentile90th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Beyond — —
F5 Nginx Instance Manager ≥ 2.16.0, ≤ 2.21.1
F5 Nginx Plus ≥ r32, ≤ r36
F5 Nginx Open Source ≥ 0.6.27, < 1.30.1
F5 Nginx Ingress Controller ≥ 3.5.0, ≤ 3.7.2 ≥ 4.0.0, ≤ 4.0.1 ≥ 5.0.0, ≤ 5.4.1
F5 Nginx Gateway Fabric ≥ 1.3.0, ≤ 1.6.2 ≥ 2.0.0, ≤ 2.5.1
Nginx — —
Pcre — —
F5 Dos 4.8.0 ≥ 4.3.0, ≤ 4.7.0
F5 Waf ≥ 4.9.0, ≤ 4.16.0 ≥ 5.1.0, ≤ 5.8.0 ≥ 5.9.0, ≤ 5.12.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42945
BreachSpider IDBS-2026-GLOBAL-271133-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-07-07
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.

CWE-131: CWE-131

Related attack patterns (CAPEC)

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-131

CAPEC-92 Forced Integer Overflow via CWE-122

CAPEC-100 Overflow Buffers via CWE-131

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

NGINX Plus and NGINX Open Source are affected by a vulnerability in the ngx_http_rewrite_module due to improper handling of unnamed Perl-Compatible Regular Expression (PCRE) captures in rewrite directives. This can lead to potential unauthorized access or information disclosure.

The vulnerability occurs when the rewrite, if, or set directives are used with unnamed PCRE captures in the replacement string, specifically when the replacement string includes a question mark (?). An attacker can exploit this to manipulate the rewrite rules and potentially gain unauthorized access or disclose sensitive information.

Questions

What is CVE-2026-42945?

NGINX Plus and NGINX Open Source are affected by a vulnerability in the ngx_http_rewrite_module due to improper handling of unnamed Perl-Compatible Regular Expression (PCRE) captures in rewrite directives. This can lead to potential unauthorized access or information disclosure.

What is the CVSS score for CVE-2026-42945?

CVE-2026-42945 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.4%.

Is CVE-2026-42945 actively exploited?

No confirmed active exploitation of CVE-2026-42945 as of 2026-11-03.

How do I remediate CVE-2026-42945?

Priority: HIGH. Advisory: https://my.f5.com/manage/s/article/K000161019

What systems are affected by CVE-2026-42945?

CVE-2026-42945 affects Beyond; F5 Nginx Instance Manager, Nginx Plus, Nginx Open Source, Nginx Ingress Controller, Nginx Gateway Fabric; Nginx; Pcre.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Beyond","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.