---
title: "NGINX Config Review (CVE-2026-15176)"
canonical: https://trickest.com/library/nginx-config-review-cve-2026-15176
description: "Two fixed GETs identify NGINX and route every host to the host-side config review for CVE-2026-15176: alias with rewrite, return, or log_format."
---

# NGINX Config Review (CVE-2026-15176)

## Overview

This workflow screens NGINX servers for CVE-2026-15176, the heap buffer overflow that needs a specific configuration shape: an alias directive combined with rewrite, return, or a log_format that reads the request filename. The trigger lives in nginx.conf, which cannot be read from outside, and a crafted URI sequence that would prove it is a heap-overflow attempt that crashes the worker, so this workflow sends exactly two fixed plain GETs and infers nothing from response shapes. The version handling is deliberately honest: F5's affected-and-fixed matrix is version-specific and not machine-readable at build time, so no version table is fabricated, no row ever claims patched, and a hidden version, which is the common case, reads as configuration review required. Field context makes the point: about 14.7 million of 56.7 million observed NGINX hosts disclose their version. Each host comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

## Pipeline

1. Read the target list and send at most two spaced GETs per host: the root page for the Server header and content, and a fixed plain error-probe path for the default error-page marker.
2. The path guard rejects anything carrying percent-encoding, plus signs, query syntax, ampersands, equals, or semicolons, so no path variant that could approach the trigger shape is constructible. No fuzzing, no repeated variants, no error-page trawling.
3. Record the Server-header version where disclosed and route it to the out-of-band matrix comparison against advisory K000162416; a hidden version reads as NGINX detected, version hidden, configuration review required.
4. Emit the host-side gate with every row: grep nginx.conf for alias combined with rewrite, return, or log_format directives that use the request filename, which is the condition that makes the overflow reachable.
5. Reconcile one verdict per target and write findings plus summary counts. No row ever claims patched, because without the matrix that would be fail-open.

## Inputs

- **Target list.** NGINX server addresses you are authorized to fingerprint. The default file ships a sample host; bind your own.

## Outputs

- **findings.jsonl.** One row per host: target, the Server-header evidence, the version and its state, verdict, severity, and the grep instruction for the host-side review.
- **summary.jsonl.** One line with the total, verdict counts, and the note that no row claims patched.

## Integrations

- HTTP. At most two GETs per host with at least one second of spacing, both plain paths, nothing inferred from response shapes.

## Sample output

The records below are illustrative and do not come from a real run. They show a server that discloses its version, the field-common hidden case, and a non-NGINX host.

```jsonl
{"target": "web-a.example.com", "server_header": "nginx/1.24.0", "version_state": "disclosed", "verdict": "nginx_exposed_config_review", "detail": "version routed to the out-of-band matrix comparison; run the nginx.conf grep on the host", "error": null}
{"target": "web-b.example.org", "server_header": "nginx", "version_state": "hidden", "verdict": "nginx_exposed_config_review", "detail": "version hidden, the common case; configuration review required", "error": null}
{"target": "web-c.example.net", "server_header": null, "version_state": null, "verdict": "not_nginx", "detail": "no NGINX markers in either response", "error": null}
```

```json
{"cve": "CVE-2026-15176", "product": "NGINX (alias + rewrite/return/log_format)", "total_targets": 3, "verdict_counts": {"nginx_exposed_config_review": 2, "not_nginx": 1}, "kev": false, "field_context": "14.7M of 56.7M observed NGINX hosts disclose a version"}
```

## FAQ

### Why can the workflow not give a version verdict?

F5's advisory matrix for this CVE is version-specific and its portal is not machine-readable at build time, so no affected-and-fixed table exists in the workflow. A disclosed version is recorded and sent to the matrix comparison out of band; claiming patched without the matrix would be fail-open, so no row ever says it.

### What exactly is the host-side gate?

Grep nginx.conf for an alias directive in the same scope as rewrite, return, or log_format directives that reference the request filename. That combination is the memory-corruption precondition, and it is the one thing this bug turns on, so the grep is the actionable answer.

### Is the vulnerability reachable from outside?

Only through a crafted sequence of URIs that hits the misconfigured route, and proving that shape from outside means crashing the worker. The workflow refuses path characters that could carry such a sequence and infers nothing from response shapes, because memory corruption leaves no clean external differential.

### What is CVE-2026-15176?

A heap buffer overflow in NGINX when alias handling interacts with rewrite, return, or log_format directives reading the request filename, scored 8.1 High with attack complexity high. No confirmed exploitation and no public proof of a working exploit.

## Related workflows

- [NGINX HTTP/2 Exposure Check (CVE-2026-123633)](/library/nginx-http2-exposure-check-cve-2026-123633). Reach for it when the next NGINX flag is in the HTTP/2 layer instead of the config-gated overflow.
- [NGINX Rewrite Exposure (CVE-2026-42945)](/library/nginx-rewrite-exposure-check-cve-2026-42945). Reach for it when the next config-gated rewrite flag is the memory-corruption pair, not this alias overflow.
- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts run NGINX across the estate first.

---
_Markdown source of https://trickest.com/library/nginx-config-review-cve-2026-15176._
