Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach nginx · 4 builds in 2 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and the root directive or access log format references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. An unauthenticated attacker along with conditions beyond their 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.
Impact: This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. 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.
Published 2026-10-14NVD
CVSS 4.0Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- High
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What it costs other systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References 1
Fable 5.2 · medium confidence · 2026-11-19
The build is affected at source level: nginx 1.30.3 is in the image with the map, log, rewrite and PCRE2 regex code compiled in, and neither the source nor the nine Buildroot patches contain a fix for CVE-2026-93479. nginx also runs in the factory-default configuration and listens on ports 80/443 (and 7681).
The trigger is a specific configuration pattern, though, and no shipped configuration has it. The only regex map (map $status $loggable, pattern ~^[23]) has no capture groups, and no root directive or log format references a capture variable: the only root is the literal root html;, and access_log uses the built-in combined format. confd writes only fixed nginx snippets (rate, burst, access list, certificate path), so an operator cannot introduce the pattern through YANG, the CLI or the web UI; it would take a root shell editing files under /etc/nginx/.
Confidence is medium because the F5 advisory and fix commit were not available offline, so the CVE's second, loosely described trigger ("a non-cacheable variable in a string expression under certain conditions") could only be assessed by reading the code. The shipped configuration does use non-cacheable $status and $request_method as single-variable map sources, which I judge not to match.
Evidence 12
`BR2_PACKAGE_NGINX=y`, with `BR2_PACKAGE_NGINX_HTTP_MAP_MODULE=y` at line 3373; `configs/x86_64_defconfig:84` selects nginx directly as a target package.
output/.config:3337
`ngx_regex_module`, `ngx_http_log_module` (line 79), `ngx_http_map_module` (line 92) and `ngx_http_rewrite_module` (line 95) are linked in; `objs/ngx_auto_config.h:443-449` defines `NGX_PCRE2` and `NGX_PCRE`, and the configure line has `--with-pcre`.
output/build/nginx-1.30.3/objs/ngx_modules.c:73
The 1.30.3 entry (17 Jun 2026) lists only CVE-2026-42055 and CVE-2026-48142; no entry in the file mentions CVE-2026-93479 or a map/capture fix. The CVE was published 2026-10-14, after this release.
output/build/nginx-1.30.3/CHANGES:2
Unpatched two-pass evaluation: the length pass sizes the buffer, then the copy pass copies `cap[n + 1] - cap[n]` bytes from the current `r->captures` with no bound check. `ngx_http_variables.c:2695` shows a map regex match overwriting `r->captures`, which is how the size can change between passes.
output/build/nginx-1.30.3/src/http/ngx_http_script.c:615 (ngx_http_script_run), :1380 (ngx_http_script_copy_capture_code)
Nine patches, all from `buildroot/package/nginx/` and all cross-compilation or pkg-config fixes; none touches `src/http`.
output/build/nginx-1.30.3/.applied_patches_list
finit service definition for nginx; `src/confd/src/services.c:862` enables it when `web/enabled` is true.
package/skeleton-init-finit/skeleton/etc/finit.d/available/nginx.conf:1
Factory default has `infix-services:web` with `enabled: true`, plus console, netbrowse and restconf enabled, so nginx runs and is network-reachable by default.
src/confd/share/factory.d/10-infix-services.json:24
The only regex map: `map $status $loggable { ~^[23] 0; 400 0; default 1; }`, with no capture groups. Line 44 is `access_log ... combined if=$loggable;`, the built-in format with no capture variables. The other map at line 28 has no regex.
board/common/rootfs/etc/nginx/nginx.conf:38
`map $request_method $webui_login_key` has no regex. Line 40, `root html;`, is the only `root` directive in the shipped configuration and is a literal. Installed copy: `output/target/etc/nginx/available/default.conf`.
package/webui/default.conf:14
`location ~ ^/(restconf|yang|.well-known)/` has a capture group, but the block never references `$1` and has no `root` or log format; `package/webui/webui.conf` and `available/ttyd.conf` / `netbrowse.conf` likewise use no capture variables.
board/common/rootfs/etc/nginx/restconf.app:2
confd writes only fixed templates into nginx config: an allow/deny file, `limit_req_zone` rate, `limit_req` burst, and certificate paths in `ssl.conf`. No YANG node under `container web` (`src/confd/yang/confd/infix-services.yang:311`) carries free-form nginx directives.
src/confd/src/services.c:614, :644, :654, :813
`$request_method` and `$status` are `NGX_HTTP_VAR_NOCACHEABLE` and are the map sources in the shipped configuration. Each is a single-variable expression, so nothing can re-evaluate it between the length and copy passes.
output/build/nginx-1.30.3/src/http/ngx_http_variables.c:282, :319
Version and patches
No affected range or fixed version could be confirmed: the F5 advisory K000162607 and the fix commit are not in the tree and there is no network access. The tree has stock nginx 1.30.3 (src/core/nginx.h:13, tarball hash in buildroot/package/nginx/nginx.hash), released 17 Jun 2026, before the CVE was published on 2026-10-14. Its CHANGES has no entry for this CVE, and the two-pass script code in src/http/ngx_http_script.c is unguarded. None of the nine applied patches touches the affected code, and Buildroot has no NGINX_IGNORE_CVES entry. I treat 1.30.3 as within the affected range.
Recommendation
Upgrade nginx to the first stable release that F5/nginx lists as fixing CVE-2026-93479 at the next regular package update; an emergency backport is not needed, because the triggering configuration is not shipped and cannot be created through the management interfaces.
Until then, record the finding as "vulnerable code present, not exposed" and keep regex map blocks with capture variables in root or log_format out of board/common/rootfs/etc/nginx/ and package/webui/.
The score is 9.2 and nginx is the device's network-facing front end, so re-check this if anyone changes the nginx configuration before the upgrade lands.
Open questions
- –**Affected range and fix:** the exact affected versions, the fixed version and the fix commit are in F5 advisory K000162607, which I could not read offline.
- –**Second trigger:** the CVE's "non-cacheable variable in a string expression under certain conditions" is not specified. The shipped configuration uses non-cacheable
$statusand$request_methodas single-variablemapsources. From the code I judge these safe, but this should be checked against the advisory text.
- –**Other config sources:** I reviewed the snippets in
board/common/rootfs/etc/nginx/,package/webui/and the installedoutput/target/etc/nginx/. I did not check whether a container or customer overlay could add files to/etc/nginx/enabled/or/etc/nginx/app/.
- –**Blocked commands:** three shell commands were refused by the sandbox (a
cd ... && lsof the build'sobjsdirectory, aforloop, and one with a redirect). I got the same information with plainrgandheadon the individual files, so nothing is missing from the review.
Members of Kernel Kit decide. Sign in if you are one.