Skip to main content
EPSS 0.8%top 46%

CVE-2026-78689: CWE-122 in F5 NGINX JavaScript

0
High
VulnerabilityCVE-2026-78689cvecve-2026-78689cwe-122
Published: 09/02/2026 (09/02/2026, 15:40:55 UTC)
Source: CVE Database V5
Vendor/Project: F5
Product: NGINX JavaScript

Description

Description NGINX JavaScript (njs) has a vulnerability in the XML module's namespace prefix list parser, reachable through the xml.exclusiveC14n() method. An unauthenticated remote attacker can trigger it when an affected NGINX configuration passes an externally controlled XML namespace prefix list to that method. Both the njs and the QuickJS (qjs) engines are affected. A crafted prefix list causes an out-of-bounds write past the end of a heap allocation. With the njs engine, which is the engine used when the js_engine directive is absent, this corrupts adjacent objects and crashes the NGINX worker. With the QuickJS engine, the same call additionally leaks the prefix list on every invocation, causing worker memory to grow across requests. The official nginxinc/nginx-saml reference implementation is affected during SAML signature verification. It reads InclusiveNamespaces/@PrefixList from an untrusted SAML message and passes it to xml.exclusiveC14n() before the signature has been verified, so a valid SAML signature is not required. A crafted SAML Response, Assertion, LogoutRequest, or LogoutResponse is sufficient. Code execution has not been demonstrated and cannot be ruled out for all platforms, as the effect of the out-of-bounds write depends on conditions beyond the attacker's control.   Impact This vulnerability allows remote attackers to cause a denial of service on the NGINX system, either through repeatable worker restarts or through worker memory growth or possibly trigger code execution. 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.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

F5

NGINX JavaScript

Affected versions
>=0.7.10 <1.0.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:23:04 UTC

Technical Analysis

CVE-2026-78689 is a heap-based buffer overflow (CWE-122) in the XML module of NGINX JavaScript (njs), specifically in the namespace prefix list parser used by the xml.exclusiveC14n() method. An attacker can remotely trigger this vulnerability by supplying a crafted XML namespace prefix list to this method in an affected NGINX configuration. Both the njs and QuickJS JavaScript engines are impacted. The njs engine suffers from adjacent object corruption and worker crashes, while the QuickJS engine leaks memory on each invocation, causing worker memory growth. The nginxinc/nginx-saml reference implementation is vulnerable during SAML signature verification because it processes untrusted InclusiveNamespaces/@PrefixList data before signature validation. Although code execution has not been demonstrated, the out-of-bounds write could potentially lead to it depending on runtime conditions. This vulnerability allows denial of service via worker restarts or memory exhaustion. No control plane components are affected.

Potential Impact

Remote attackers can cause denial of service on NGINX systems by triggering worker process crashes or memory growth. The vulnerability may also allow code execution, but this has not been demonstrated and depends on uncontrollable conditions. The issue affects the data plane only, with no control plane exposure. The nginxinc/nginx-saml reference implementation is vulnerable to crafted SAML messages that exploit this flaw before signature verification.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, avoid passing externally controlled XML namespace prefix lists to the xml.exclusiveC14n() method, especially in SAML processing contexts. Monitor vendor communications for updates and apply official fixes once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
f5
Date Reserved
2026-08-25T23:21:14.550Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a984660acd9273b496cc386

Added to database: 09/02/2026, 15:53:04 UTC

Last enriched: 09/07/2026, 13:23:04 UTC

Last updated: 10/16/2026, 18:48:24 UTC

Views: 117

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses