---
id: CVE-2026-125283
title: NGINX try_files vulnerability
summary: >-
  When NGINX Plus or NGINX Open Source is configured to use the try_files and
  alias directives with a map variable, certain combinations of regular
  expression captures in map and try_files can cause a segmentation fault in an
  NGINX worker …
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-191
vendor: F5
product: NGINX Plus
affected:
  - nginx_plus >= 37.1.0 < 37.3.0.1
  - nginx_plus >= 37.0.0 < 37.0.8.1
  - nginx_plus >= R33 < *
  - nginx_open_source >= 1.31.0 < 1.31.9
  - nginx_open_source >= 1.30.0 < 1.30.7
  - nginx_open_source >= 0.9.6 < *
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-11-18T16:32:44.844535Z'
published: '2026-11-18'
updated: '2026-11-18'
sourceUpdated: '2026-11-18T16:48:00.521Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125283'
references:
  - url: 'https://my.f5.com/manage/s/article/K000163933'
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-18T16:12:34.625Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/cveForge/CVE-2026-125283'
  checkedAt: '2026-11-24T11:30:01.328Z'
exploitAvailable: true
epss: 0.0138
epssPercentile: 0.72834
---

## Overview

When NGINX Plus or NGINX Open Source is configured to use the try_files and alias directives with a map variable, certain combinations of regular expression captures in map and try_files can cause a segmentation fault in an NGINX worker process.

Impact:
An attacker could leverage this vulnerability to cause an NGINX worker process to terminate unexpectedly. There is no control plane exposure; this is a data plane issue only.



Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

## Affected

- `nginx_plus >= 37.1.0 < 37.3.0.1`
- `nginx_plus >= 37.0.0 < 37.0.8.1`
- `nginx_plus >= R33 < *`
- `nginx_open_source >= 1.31.0 < 1.31.9`
- `nginx_open_source >= 1.30.0 < 1.30.7`
- `nginx_open_source >= 0.9.6 < *`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

Avoid unnamed regex captures; use named captures instead. Do not reuse the same capture variable in other regex matches or for other purposes.
