CVE-2026-56434
NGINX vulnerability analysis and mitigation

Overview

CVE-2026-56434 is a use-after-free (UAF) vulnerability in the ngx_http_ssi_module of NGINX Plus and NGINX Open Source. It is triggered when Server-Side Includes (SSI), proxy_pass, and proxy_buffering off directives are all configured simultaneously, allowing an unauthenticated attacker with man-in-the-middle (MITM) capability to cause a heap buffer over-read in the NGINX worker process. Affected versions include NGINX Plus R33 through R36 (fixed in R36 P7 and R37 versions prior to 37.0.3.1), and NGINX Open Source 0.8.11 through 1.30.3 and 1.31.2 (fixed in 1.30.4 and 1.31.3). The vulnerability was published on July 15, 2026. It carries a CVSS v3.1 score of 6.5 (Medium) and a CVSS v4.0 score of 8.3 (High) (GitHub Advisory, Microsoft MSRC).

Technical details

The root cause is classified as CWE-416 (Use After Free): the ngx_http_ssi_module improperly handles memory when processing upstream responses under the specific combination of SSI, proxy_pass, and proxy_buffering off directives, leading to a heap buffer over-read condition. An attacker must occupy a MITM position between NGINX and its upstream server to inject or manipulate HTTP responses that trigger the vulnerable code path — no authentication or user interaction is required. The vulnerability is data-plane only (no control-plane exposure), and exploitation requires the specific three-directive configuration to be active. No public proof-of-concept code has been identified at this time (GitHub Advisory, F5 Advisory).

Impact

Successful exploitation may result in limited unauthorized modification of memory contents within the NGINX worker process or a forced restart of that worker process, causing service disruption. There is no confidentiality impact (no data exfiltration), and integrity impact is limited to minor memory modification. The availability impact is rated High, as worker process crashes can interrupt web traffic handling; however, NGINX's multi-worker architecture means the master process will typically restart crashed workers, limiting sustained outage. There is no control-plane exposure, and lateral movement potential is low given the constrained impact scope (GitHub Advisory, F5 Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (GitHub Advisory). The NVD SSVC assessment confirms exploitation is "none" and the vulnerability is not automatable. The EPSS score is approximately 0.39–0.45%, placing it in the 37th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a non-trivial precondition — MITM positioning between NGINX and an upstream server — which significantly limits the attacker pool.

Exploitation steps

  1. Reconnaissance: Identify NGINX instances configured with SSI (ssi on), proxy_pass, and proxy_buffering off directives — these are required for the vulnerability to be present. Tools like Shodan or Censys can identify NGINX deployments, though the specific configuration cannot be determined remotely without further access.
  2. Establish MITM Position: Gain a network-level man-in-the-middle position between the NGINX server and its upstream backend. This could be achieved via ARP spoofing, BGP hijacking, DNS poisoning, or compromising a network device on the path between NGINX and the upstream server.
  3. Intercept Upstream Response: Intercept HTTP responses from the upstream server destined for the NGINX proxy.
  4. Inject Malicious Response: Craft and inject a malicious HTTP response containing SSI-related content designed to trigger the heap buffer over-read in ngx_http_ssi_module during response processing.
  5. Trigger Use-After-Free: The crafted response causes NGINX's SSI module to access freed memory, resulting in either limited memory modification or a worker process crash (restart).

Note: No public PoC exists; these steps are based on the vulnerability description and general MITM attack methodology (GitHub Advisory, F5 Advisory).

Indicators of compromise

  • Logs: Unexpected NGINX worker process crash/restart entries in error.log (e.g., worker process XXXX exited on signal 11); repeated worker restarts without clear cause may indicate exploitation attempts.
  • Network: Anomalous or unexpected HTTP responses from upstream servers containing unusual SSI directives or malformed content; unexpected ARP table changes or DNS anomalies on the network segment between NGINX and upstream servers suggesting MITM activity.
  • Process: NGINX master process repeatedly spawning new worker processes in a short time window; core dump files generated by the NGINX worker process in the working directory.
  • File System: Unexpected core dump files (e.g., core.*) in the NGINX working directory or /var/crash/ indicating worker process crashes.

Mitigation and workarounds

F5 has released patched versions: NGINX Open Source 1.30.4 and 1.31.3, and NGINX Plus R36 P7 and R37 (37.0.3.1+). Upgrading to a patched version is the primary recommended remediation (F5 Advisory, NGINX 1.31.3 Release). As a configuration-based workaround, disable Server-Side Includes (ssi off) if not required, or enable proxy_buffering on to eliminate the vulnerable code path. Additionally, implement network-level controls (e.g., TLS mutual authentication between NGINX and upstream servers, network segmentation) to prevent MITM attacks on the upstream communication channel. NGINX Plus versions prior to R33 are End of Technical Support and will not receive patches.

Community reactions

F5 published an official advisory (K000162098) and the vulnerability was covered by multiple cybersecurity news outlets including CyberSecurityNews, GBHackers, and CyberPress, which noted it as part of a broader set of NGINX vulnerabilities patched simultaneously (CyberSecurityNews, GBHackers). Beazley Security published a dedicated advisory (BSL-A1192) covering the memory corruption vulnerabilities in NGINX. The Hacker News included the vulnerability in its weekly security recap. Community reaction has been moderate, with attention focused on the broader batch of NGINX fixes rather than this specific CVE in isolation, and no significant alarm given the MITM precondition requirement.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

nginx

Affected

sid

nginx: 1.30.1-7

Fixed

trixie

nginx

Affected

Ubuntu

Fixed

bionic (esm-infra)

nginx

Unknown

devel

nginx: 1.30.1-7ubuntu1

Affected

focal (esm-infra)

nginx

Unknown

jammy

nginx: 1.18.0-6ubuntu14.17

Fixed

noble

nginx: 1.24.0-2ubuntu7.14

Fixed

resolute

nginx: 1.28.3-2ubuntu1.7

Fixed

trusty (esm-infra-legacy)

nginx

Unknown

xenial (esm-infra-legacy)

nginx

Unknown

RHEL / CentOS

Fixed

RHEL 8

:appstream:nginx:1.24:8100020260809162034:489197e6/nginx-0:1.24-8100020260809162034.489197e6.src

Fixed

RHEL 9

:appstream:nginx-2:1.20.1-28.el9_8.5.src

Fixed

RHEL 10

nginx-2:1.26.3-6.el10_2.6.src

Fixed

Alpine

Fixed

edge

nginx: 1.30.4-r0

Fixed

v3.21

nginx: 1.26.3-r2

Fixed

v3.22

nginx: 1.28.3-r6

Fixed

v3.23

nginx: 1.28.3-r6

Fixed

SourceThis report was generated using AI

Related NGINX vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-42533CRITICAL9.2
  • NGINX logoNGINX
  • nginx:1.26::nginx-core
NoYesJul 15, 2026
CVE-2026-42530CRITICAL9.2
  • NGINX logoNGINX
  • nginx-core-debuginfo
NoYesJun 17, 2026
CVE-2026-60005HIGH8.8
  • NGINX logoNGINX
  • nginx:1.24::nginx-mod-devel
NoYesJul 15, 2026
CVE-2026-56434HIGH8.3
  • NGINX logoNGINX
  • nginx
NoYesJul 15, 2026
CVE-2026-48142MEDIUM6.3
  • NGINX logoNGINX
  • nginx:1.24::nginx.src
NoYesJun 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management