Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-78689 – Heap Buffer Overflow / DoS (RCE Not Ruled Out) – NGINX JavaScript (njs) 0.7.10 thro

Be the first to know when new zero-days emerge:

Summary

CVE-2026-78689 is a high-severity heap-based buffer overflow (CWE-122) in NGINX JavaScript (njs), affecting the ngx_http_js_module‘s XML namespace prefix list parser reachable through the xml.exclusiveC14n() method. An unauthenticated, remote attacker can trigger an out-of-bounds heap write by supplying a crafted XML namespace prefix list to an affected configuration, causing NGINX worker crashes or unbounded worker memory growth; F5 states code execution "has not been demonstrated" but "cannot be ruled out." The issue carries a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 score of 9.2 (Critical).

Technical details

  • Root cause: A parsing flaw in njs’s XML module namespace prefix list parser causes an out-of-bounds write past the end of a heap allocation when xml.exclusiveC14n() processes a crafted prefix list.
  • Affected engines: Both the default njs engine and the QuickJS (qjs) engine are affected. With njs, the overflow corrupts adjacent heap objects and crashes the worker process. With QuickJS, the same call additionally leaks the prefix list on every invocation, causing worker memory usage to grow across requests.
  • Trigger conditions: Exploitation requires an NGINX configuration that passes an externally controlled XML namespace prefix list into xml.exclusiveC14n(). F5 specifically flags its official nginxinc/nginx-saml reference implementation as vulnerable: it reads InclusiveNamespaces/@PrefixList from an untrusted SAML message and passes it to xml.exclusiveC14n() before the SAML signature is verified — meaning a valid signature is not required. A single crafted SAML Response, Assertion, LogoutRequest, or LogoutResponse is sufficient to trigger it.
  • Attack vector: Network, unauthenticated, no user interaction required. CVSS v3.1 attack complexity is rated High (AC:H), reflecting that exploitation conditions depend on the specific configuration and data processed.
  • Impact: Denial of service via repeated worker restarts or worker memory exhaustion; potential code execution is not excluded by the vendor. F5 notes there is no control-plane exposure — this is strictly a data-plane issue.

Affected software

  • NGINX JavaScript (njs), module ngx_http_js_module: versions 0.7.10 up to (but not including) 1.0.1
  • Deployments using the xml module’s xml.exclusiveC14n() method with externally influenced input are at risk; the official nginxinc/nginx-saml reference implementation is specifically confirmed vulnerable during SAML signature verification workflows
  • Note: software versions that have reached End of Technical Support (EoTS) were not evaluated by the vendor

Severity

  • CVSS v3.1 Base Score: 8.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • (Vendor also published a CVSS v4.0 score of 9.2, Critical)

Mitigation and recommended actions

  • Immediate: Upgrade NGINX JavaScript (njs) to version 1.0.1 or later, which resolves the parser flaw.
  • If no patch can be applied immediately: No official workaround is available. Organizations using SAML integrations built on the nginxinc/nginx-saml reference implementation (or any custom configuration that feeds untrusted input into xml.exclusiveC14n()) should treat exposed SAML SSO/SLO endpoints as high risk and consider temporarily disabling or restricting access to affected endpoints until the njs upgrade is applied.
  • Audit all NGINX configurations for use of the xml module and xml.exclusiveC14n() to confirm whether externally controlled data reaches this method, and prioritize patching any internet-facing instances first.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge