CVE-2026-8711

NameCVE-2026-8711
DescriptionNGINX 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.fetch() operation from NGINX JavaScript. An unauthenticated attacker 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. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1137215

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libnginx-mod-js (PTS)bookworm0.7.9-2fixed
trixie0.8.9-1fixed
forky, sid0.9.9-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libnginx-mod-jssourcebookworm(not affected)
libnginx-mod-jssourcetrixie(not affected)
libnginx-mod-jssource(unstable)0.9.9-11137215

Notes

[trixie] - libnginx-mod-js <not-affected> (Vulnerable code not present)
[bookworm] - libnginx-mod-js <not-affected> (Vulnerable code not present)
https://my.f5.com/manage/s/article/K000161307
Introduced with: https://github.com/nginx/njs/commit/dea831892cee6ad3a6e7420e2174157a1a73b92d (0.9.4)
Fixed by: https://github.com/nginx/njs/commit/2bf4601a94c2a22b715d74e6d92dedb1850d56d3 (0.9.9)

Search for package or bug name: Reporting problems