NGINX
CVE-2026-125283: NGINX try_files vulnerability
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.
Published F5 advisory K000163933
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| NGINX Plus 37.1 | 37.3.0.1 or later |
| NGINX Plus 37.0 | 37.0.8.1 or later |
| NGINX Plus R33 | * or later |
| NGINX Open Source 1.31 | 1.31.9 or later |
| NGINX Open Source 1.30 | 1.30.7 or later |
| NGINX Open Source 0.9 | * or later |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
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.
Workarounds
Avoid unnamed regex captures; use named captures instead. Do not reuse the same capture variable in other regex matches or for other purposes.
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
KEV status, EPSS score and vendor data refreshed automatically, last on 3 Dec 2026.