{"id":13007,"date":"2026-05-20T10:04:15","date_gmt":"2026-05-20T10:04:15","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/05\/20\/new-nginx-vulnerability-allow-remote-attackers-to-trigger-malicious-code\/"},"modified":"2026-05-20T10:04:15","modified_gmt":"2026-05-20T10:04:15","slug":"new-nginx-vulnerability-allow-remote-attackers-to-trigger-malicious-code","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/05\/20\/new-nginx-vulnerability-allow-remote-attackers-to-trigger-malicious-code\/","title":{"rendered":"New NGINX Vulnerability Allow Remote Attackers to Trigger Malicious Code"},"content":{"rendered":"<p>    New NGINX Vulnerability Allow Remote Attackers to Trigger Malicious Code<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A new vulnerability in NGINX JavaScript (njs), tracked as CVE\u20112026\u20118711, allows unauthenticated remote attackers to trigger a heap\u2011based buffer overflow that can lead to denial\u2011of\u2011service and, in some conditions, <a href=\"https:\/\/cybersecuritynews.com\/18-year-old-nginx-rce-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">remote code execution in the NGINX <\/a>worker process.<\/p>\n<p>The flaw is tied to how the js_fetch_proxy directive handles client\u2011controlled variables when combined with the ngx.fetch() operation from NGINX JavaScript.<\/p>\n<p>The issue arises in the ngx_http_js_module module when js_fetch_proxy is configured with at least one client\u2011controlled NGINX variable such as\u00a0,\u00a0, or\u00a0.<\/p>\n<p>If a location then invokes an NJS function that calls ngx.fetch(), an attacker can send crafted HTTP requests that result in a <a href=\"https:\/\/cybersecuritynews.com\/windows-heap-based-buffer-overflow-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">heap buffer overflow<\/a> in the NGINX worker process.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-nginx-buffer-overflow-vulnerability\">\n<strong>NGINX Buffer Overflow<\/strong> <strong>Vulnerability<\/strong><br \/>\n<\/h2>\n<p>The vulnerability is classified as CWE\u2011122: Heap\u2011based Buffer Overflow and is tracked internally by F5 as ID 160 for NGINX Plus and NGINX OSS.<\/p>\n<p>This defect primarily causes worker process crashes and automatic restarts, effectively producing a denial\u2011of\u2011service (DoS) condition on the NGINX data plane.<\/p>\n<p>On systems where <a href=\"https:\/\/cybersecuritynews.com\/hackers-exploiting-nginx-rce-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">Address Space Layout Randomization (ASLR)<\/a> is disabled or poorly configured, the overflow may be exploitable to execute arbitrary code in the worker context.<\/p>\n<p>The vulnerability affects NGINX JavaScript (njs) versions 0.9.4 through 0.9.8, with the fix introduced in njs 0.9.9.<\/p>\n<p>The impacted component is the ngx_http_js_module module, which exposes NJS-based HTTP processing directives such as js_content and js_fetch_proxy.<\/p>\n<p>A typical vulnerable pattern is a configuration in which js_fetch_proxy constructs a proxy URL using client\u2011supplied headers, for example, $http_x_user\u00a0and\u00a0$http_x_password, and js_content points to an NJS function (for example, main.fetcher) that calls ngx.fetch() with that URL.<\/p>\n<p>In this setup, an attacker can manipulate those header values to corrupt heap memory in the NGINX worker and repeatedly crash it.<\/p>\n<p><a href=\"https:\/\/my.f5.com\/manage\/s\/article\/K000161307\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">F5 stated in article K000161307<\/a> that the issue is limited to the data plane and does not affect the control plane.<\/p>\n<p>Other F5 products and services, such as BIG\u2011IP, BIG\u2011IQ, BIG\u2011IP Next, F5OS, and F5 Distributed Cloud services, are reported as not vulnerable to CVE\u20112026\u20118711 in their evaluated versions.<\/p>\n<p>Administrators running affected njs versions are strongly advised to upgrade to NGINX JavaScript 0.9.9 or later as the primary remediation.<\/p>\n<p>Environments where the \u201cVersions known to be vulnerable\u201d column applies should move to a release listed in the \u201cFixes introduced in\u201d column or later. <\/p>\n<p>Where an immediate upgrade is not possible, operators should review configurations for js_fetch_proxy usage with client\u2011controlled variables and refactor or remove these patterns, and ensure that ASLR is enabled on all NGINX hosts to hinder code\u2011execution attempts.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Follow us on\u00a0<a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener\">Google News<\/a>,\u00a0<a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener\">LinkedIn<\/a>,\u00a0and\u00a0<a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener\">X<\/a>\u00a0to Get More Instant Updates.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/nginx-buffer-overflow-vulnerability\/\">New NGINX Vulnerability Allow Remote Attackers to Trigger Malicious Code<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/nginx-buffer-overflow-vulnerability\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New NGINX Vulnerability Allow Remote Attackers to Trigger Malicious Code A new vulnerability in NGINX JavaScript (njs), tracked as CVE\u20112026\u20118711, allows unauthenticated remote attackers to trigger a heap\u2011based buffer overflow that can lead to denial\u2011of\u2011service and, in some conditions, remote code execution in the NGINX worker process. The flaw is tied to how the js_fetch_proxy [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-13007","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13007"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=13007"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13007\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=13007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=13007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=13007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}