# CVE-2026-78222: NGINX ngx_http_js_module vulnerability

A flaw in NGINX JavaScript allows a malformed HTTP response to crash a worker process when trusted JavaScript reads the response status text. An attacker with the ability to control or influence the fetched HTTP response can trigger this crash remotely over the network without authentication or user interaction, resulting in a denial-of-service condition on the data plane.

- Vendor: F5, NGINX JavaScript
- Severity: HIGH (CVSS 4.0 8.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: K000162603, https://my.f5.com/manage/s/article/K000162603
- Published: 2026-09-02; updated: 2026-09-02
- Page: https://patchtonight.com/cve/CVE-2026-78222/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX JavaScript 0.5 | 1.0.1 or later |

## The vendor's description

A vulnerability exists in NGINX JavaScript where a malformed HTTP response received by ngx.fetch() can crash an NGINX worker when trusted JavaScript reads Response.statusText. Exploitation requires control or influence over the fetched HTTP response.

Impact:
This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system. 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

Restrict ngx.fetch() destinations to trusted servers and avoid reading Response.statusText for responses from attacker-controlled or attacker-influenced endpoints. 
Using HTTPS with certificate verification reduces exposure to network-based response manipulation but does not protect against a malicious or compromised fetched server

## Sources

- [F5 advisory](https://my.f5.com/manage/s/article/K000162603)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
