NGINX JavaScript has a vulnerability when the js_fetch_proxy directive is configured with at least one client-controlled NGINX variable (for example,...
Description
NGINX JavaScript has a vulnerability when the js_fetch_proxy directive is configured with at least one client-controlled NGINX variable (for example, $http_*, $arg_*, $cookie_*) and a location invoking the ngx
AI Analyst Comment
Remediation
Apply vendor security updates immediately. Monitor for exploitation attempts and review access logs.
---METADATA---
VENDOR: F5
PRODUCT: NGINX JavaScript
AFFECTED_VERSIONS: 0.9.4 up to (excluding) 0.9.9
CONFIDENCE: high
MISSING: none
---END_METADATA---
Description Summary:
NGINX JavaScript is susceptible to a heap-based buffer overflow when the js_fetch_proxy directive is configured with specific client-controlled variables, potentially allowing memory corruption.
Executive Summary:
A heap-based buffer overflow vulnerability in NGINX JavaScript (F5) poses a significant risk of memory corruption and potential system instability when processing specific client-controlled inputs.
Vulnerability Details
CVE-ID: CVE-2026-8711
Affected Software: F5 NGINX JavaScript
Affected Versions: 0.9.4 up to (excluding) 0.9.9
Vulnerability: This is a heap-based buffer overflow (CWE-122) triggered when the js_fetch_proxy directive processes client-controlled NGINX variables. The vulnerability is exploitable by an unauthenticated remote attacker.
Business Impact
Successful exploitation of this buffer overflow can lead to application crashes, denial of service, or potentially arbitrary code execution within the NGINX process memory space. Given the CVSS score of 8.1, the vulnerability is classified as High severity; while it requires specific configuration parameters, the potential for total impact on the NGINX service necessitates prioritized patching to prevent service disruption or unauthorized system control.
Remediation Plan
Immediate Action: Upgrade the NGINX JavaScript module to version 0.9.9 or later as provided by F5.
Proactive Monitoring: Monitor NGINX error logs for unexpected process terminations (segmentation faults) or abnormal memory usage patterns in the JavaScript runtime environment.
Compensating Controls: If immediate patching is not feasible, review NGINX configurations to ensure that js_fetch_proxy is not utilizing client-controlled variables (e.g., $http_*, $arg_*) in untrusted locations.
Exploitation Status
Public Exploit Available: Unknown
Analyst Notes: As of May 20, 2026, there is no public information indicating active exploitation or a public proof-of-concept for this vulnerability. The flaw's exploitability is limited by the requirement for specific, non-default configuration settings regarding client-controlled variables.
Analyst Recommendation
The risk posed by memory corruption vulnerabilities in core infrastructure components like NGINX is high. Administrators should verify their current NGINX JavaScript module versions and apply the recommended update (0.9.9+) during the next available maintenance window to eliminate the risk of heap-based memory overflow.