CVE-2026-43945: @frangoteam/fuxa Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-p69w-mmfv-xrfj
Advisory Summary

CVE-2026-43945 is a HIGH remote code execution vulnerability (CWE-284: Improper Access Control) affecting @frangoteam/fuxa libraries in the npm ecosystem. The issue involves fuxa vulnerable to pre-auth rce via path manipulation & configuration injection. Remediation is available by upgrading affected packages to version 1.3.1.

CVE-2026-43945 at a Glance

CVE Identifier CVE-2026-43945
GHSA Identifier GHSA-p69w-mmfv-xrfj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product @frangoteam/fuxa
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-43945

To remediate this vulnerability, upgrade all affected @frangoteam/fuxa dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@frangoteam/fuxa fixed: 1.3.1
npm install @frangoteam/fuxa@1.3.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @frangoteam/fuxa

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-43945, inspect your project dependencies using npm:

npm ls @frangoteam/fuxa

Analyze the terminal output to locate any version of @frangoteam/fuxa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.1), your application is affected.

Note: The npm ls @frangoteam/fuxa command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In @frangoteam/fuxa, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

**Pre-auth** RCE in FUXA via Logic Bypass Summary A Critical vulnerability chain exists in FUXA (v.1.3.0-2706) that allows an unauthenticated remote attacker to achieve Full Remote Code Execution (RCE) as root. The exploit succeeds even when the platform is configured in its most secure state (Secure Mode Enabled and Node-RED Secure Auth Enabled). Details The vulnerability is a Path Confusion flaw in the authentication middleware. The server uses a substring match on the full URL (including query parameters) to exclude certain paths from authentication. Involved Logic: JavaScript: ``` const url = req.originalUrl || req.url || req.path; if (url.includes('/socket.io')) return next(); By appending ?x=/socket.io to any administrative request, the middleware is "tricked" into treating the request as a public WebSocket handshake, bypassing the secureEnabled and nodeRedAuthMode checks entirely. ``` Proof of Concept A specially crafted request containing manipulated query parameters could bypass authentication checks on protected /nodered/* endpoints. In configurations where Node-RED exposed privileged or command-execution capable nodes, this could lead to remote code execution within the container context. Impact Access Level: Unauthenticated / Remote. Privilege Level: Access to Node-RED administrative endpoints. Remote code execution may be possible depending on the Node-RED configuration and installed nodes. CVSS 3.1 Score: High severity. Description: An attacker can gain total control over the SCADA server, allowing them to intercept industrial data (MQTT/OPC-UA), manipulate PLC tags, or pivot into the internal OT network. Root Cause & Remediation The root cause is the reliance on req.originalUrl for security-critical routing decisions. The Fix: The developer must use req.path (which Express pre-parses to remove query strings) or a formal URL parser to ensure that the security check is performed only against the pathname. ``` JavaScript // Secure approach const pathname = req.path; if (pathname.startsWith('/socket.io/')) return next(); ``` This issue affects only setups where Node-RED is enabled.

CVE-2026-43945 Affected @frangoteam/fuxa Versions

1 component(s)
Fixed Versions:
1.3.1
Product / Package Ecosystem Affected Versions Fixed Version
@frangoteam/fuxa
npm
≥ 1.2.11
< 1.3.1
1.3.1

References

Frequently Asked Questions

What is CVE-2026-43945?
CVE-2026-43945 is a security vulnerability in @frangoteam/fuxa involving FUXA Vulnerable to Pre-auth RCE via Path Manipulation & Configuration Injection under CWE-284: Improper Access Control.
Which @frangoteam/fuxa versions are affected?
Affected versions include releases prior to 1.3.1 across affected packages: @frangoteam/fuxa.
What version fixes CVE-2026-43945?
Upgrading to 1.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @frangoteam/fuxa affected?
Yes, @frangoteam/fuxa is affected in releases prior to 1.3.1. Upgrade your dependency to 1.3.1 or later.
What CWE is associated with CVE-2026-43945?
CVE-2026-43945 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check npm dependencies for CVE-2026-43945?
Run the dependency tree command: 'npm ls @frangoteam/fuxa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p69w-mmfv-xrfj",
  "modified" : "2026-05-26T23:40:42Z",
  "published" : "2026-05-26T23:40:42Z",
  "aliases" : [ "CVE-2026-43945" ],
  "summary" : "FUXA Vulnerable to Pre-auth RCE via Path Manipulation & Configuration Injection",
  "details" : "**Pre-auth** RCE in FUXA via Logic Bypass\n\nSummary\n\nA Critical vulnerability chain exists in FUXA (v.1.3.0-2706) that allows an unauthenticated remote attacker to achieve Full Remote Code Execution (RCE) as root. The exploit succeeds even when the platform is configured in its most secure state (Secure Mode Enabled and Node-RED Secure Auth Enabled).\n\nDetails\nThe vulnerability is a Path Confusion flaw in the authentication middleware. The server uses a substring match on the full URL (including query parameters) to exclude certain paths from authentication.\n\nInvolved Logic:\n\nJavaScript:\n```\nconst url = req.originalUrl || req.url || req.path;\nif (url.includes('/socket.io')) return next();\nBy appending ?x=/socket.io to any administrative request, the middleware is \"tricked\" into treating the request as a public WebSocket handshake, bypassing the secureEnabled and nodeRedAuthMode checks entirely.\n```\n\nProof of Concept\n\nA specially crafted request containing manipulated query parameters could bypass authentication checks on protected /nodered/* endpoints.\n\nIn configurations where Node-RED exposed privileged or command-execution capable nodes, this could lead to remote code execution within the container context.\n\nImpact\nAccess Level: Unauthenticated / Remote.\n\nPrivilege Level: Access to Node-RED administrative endpoints. \nRemote code execution may be possible depending on the Node-RED configuration and installed nodes.\n\nCVSS 3.1 Score: High severity.\n\nDescription: An attacker can gain total control over the SCADA server, allowing them to intercept industrial data (MQTT/OPC-UA), manipulate PLC tags, or pivot into the internal OT network.\n\nRoot Cause & Remediation\nThe root cause is the reliance on req.originalUrl for security-critical routing decisions.\n\nThe Fix:\nThe developer must use req.path (which Express pre-parses to remove query strings) or a formal URL parser to ensure that the security check is performed only against the pathname.\n\n```\nJavaScript\n\n// Secure approach\nconst pathname = req.path; \nif (pathname.startsWith('/socket.io/')) return next();\n```\n\nThis issue affects only setups where Node-RED is enabled.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@frangoteam/fuxa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.11"
      }, {
        "fixed" : "1.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/frangoteam/FUXA/security/advisories/GHSA-p69w-mmfv-xrfj"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/frangoteam/FUXA"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/frangoteam/FUXA/releases/tag/v1.3.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284", "CWE-288", "CWE-863", "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-26T23:40:42Z",
    "nvd_published_at" : null
  }
}