Vulnerabilities in pkg:npm/fuxa-server

PACKAGE
Advisory Identifier: GHSA-8ghr-w65f-j3qr
Advisory Summary

CVE-2026-47721 is a MODERATE (CVSS 6.3) fuxa's scheduler api missing admin vulnerability (CWE-862: Missing Authorization) affecting Fuxa server libraries in the npm ecosystem. The issue involves fuxa's scheduler api missing admin check enables operator-to-admin escalation via scheduled device actions. Remediation is available in the latest vendor maintenance releases.

22 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/fuxa-server

22 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/fuxa-server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-8ghr-w65f-j3qr CVE-2026-47721 MODERATE FUXA's scheduler API missing admin check enables operator-to-admin escalation via scheduled device actions
GHSA-h9fj-c2qr-76g2 CVE-2026-47720 MODERATE FUXA has SQL Injection in its TDengine DAQ connector via backslash bypass of escapeTdString
GHSA-w86f-rf9w-h3x6 CVE-2026-47719 HIGH FUXA: Unauthenticated SSRF via Socket.IO DEVICE_WEBAPI_REQUEST and DEVICE_PROPERTY with response reading
GHSA-r9g5-7q8j-958c CVE-2026-47718 MODERATE FUXA provides guest and invalid-token access to protected read APIs in secure mode
GHSA-q3w6-q3hc-c5x6 CVE-2026-47717 HIGH FUXA's Unauthenticated Project Data Disclosure Exposes Server-Side Scripts and Device Configurations
GHSA-rg3m-cfq7-g6h6 CVE-2026-43947 HIGH FUXA Vulnerable to Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass
GHSA-fwcm-rqvw-j3p7 CVE-2026-43946 HIGH FUXA has an unauthenticated arbitrary tag value disclosure via /api/getTagValue
GHSA-2r8f-cf6w-x5vq - HIGH Duplicate Advisory: FUXA contains a hard-coded credential vulnerability
GHSA-5r63-q8hg-p8qx CVE-2025-69983 HIGH FUXA allows Remote Code Execution (RCE) via the project import functionality.
GHSA-68m5-5w2h-h837 CVE-2026-25951 HIGH FUXA Affected by a Path Traversal Sanitization Bypass
GHSA-v4p5-w6r3-2x4f CVE-2026-25938 CRITICAL FUXA Unauthenticated Remote Code Execution in Node-RED Integration
GHSA-88qh-cphv-996c CVE-2026-25895 CRITICAL FUXA Unauthenticated Remote Code Execution via Arbitrary File Write in Upload API
GHSA-c869-jx4c-q5fc CVE-2026-25939 CRITICAL FUXA Unauthenticated Remote Arbitrary Scheduler Write
GHSA-32cc-x95p-fxcg CVE-2026-25894 CRITICAL FUXA Unauthenticated Remote Code Execution via Hardcoded JWT Secret in Default Configuration
GHSA-vwcg-c828-9822 CVE-2026-25893 CRITICAL FUXA Unauthenticated Remote Code Execution via Admin JWT Minting
GHSA-ggxw-g3cp-mgf8 CVE-2026-25752 CRITICAL FUXA Unauthenticated Remote Arbitrary Device Tag Write
GHSA-c5gq-4h56-4mmx CVE-2026-25751 CRITICAL FUXA Unauthenticated Exposure of Plaintext Database Credentials
GHSA-r5m2-fqcf-qrf7 CVE-2025-69970 HIGH FUXA contains an insecure default configuration vulnerability
GHSA-7g56-fwxj-cm23 CVE-2025-69981 HIGH FUXA contains an Unrestricted File Upload vulnerability
GHSA-p46g-8c3q-89p2 CVE-2023-31719 CRITICAL FUXA SQL Injection vulnerability
GHSA-wwfj-h843-3hrq CVE-2023-31718 HIGH FUXA local file inclusion vulnerability
GHSA-v9q5-9crp-92f9 CVE-2023-31717 HIGH FUXA SQL Injection vulnerability

CVE-2026-47721 at a Glance

CVE Identifier CVE-2026-47721
GHSA Identifier GHSA-8ghr-w65f-j3qr
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-862: Missing Authorization
Affected Product Fuxa server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-47721

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

fuxa-server fixed: Latest secure release
npm install fuxa-server@Latest secure release
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 fuxa-server

How to Check if You Are Affected

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

npm ls fuxa-server

Analyze the terminal output to locate any version of Fuxa server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls fuxa-server 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Fuxa server, 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

## Summary An authorization issue in the Scheduler API allowed authenticated non-admin users to create or modify scheduled actions that should be restricted to administrators. ## Details The Scheduler API did not correctly enforce administrator permissions when processing scheduler modifications. As a result, authenticated users with non-administrative roles could create or modify scheduled actions that execute privileged operations, including device value changes and server-side script execution. The issue was fixed in version 1.3.2 by enforcing the appropriate permission checks for scheduler modifications. ## Impact An operator-level user in FUXA reaches the PLC-write and server-side-script-execution surface that the platform otherwise restricts to administrators. In a SCADA deployment those two privileges cover setpoint control and the automation scripting engine. Alice schedules a job that rewrites a pump's enable tag, opens a safety interlock, or runs a project script that walks the device tree. The scheduled-action model extends the attack: Alice does not need to keep a session open for the action to fire, and a repeating schedule re-applies her changes every cycle even if an admin reverts them manually. **CVSS 3.1**: `AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L` (Medium, 6.3). CWE-862. ## Recommended Fix Add `authJwt.haveAdminPermission(permission)` to both `POST /api/scheduler` and `DELETE /api/scheduler`, matching every other write endpoint that reaches `runtime.devices.setTagValue` or `runtime.scriptsMgr.runScript`. ```javascript schedulerApp.post("/api/scheduler", secureFnc, function(req, res) { if (res.statusCode === 403) { runtime.logger.error("api post scheduler: Tocken Expired"); return; } const permission = checkGroupsFnc(req); const isGuest = authJwt.isGuestUser(req.userId, req.userGroups); if (runtime.settings?.secureEnabled && (isGuest || !authJwt.haveAdminPermission(permission))) { res.status(401).json({error:"unauthorized_error", message: "Unauthorized!"}); runtime.logger.error("api post scheduler: admin permission required"); return; } // ... rest unchanged ... }); ``` Apply the same change to the delete handler at `server/api/scheduler/index.js:102-112`. As defense in depth, the scheduler service should also validate each `deviceActions` entry against the creator's stored groups before execution (e.g., reject `onRunScript` on any scheduler whose author is not an admin at execution time). --- A fix is available at https://github.com/frangoteam/FUXA/releases/tag/v1.3.2. --- *Found by [aisafe.io](https://aisafe.io)*

CVE-2026-47721 Affected Fuxa server Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
fuxa-server
npm
≤ 1.1.14-1243

References

Frequently Asked Questions

What is CVE-2026-47721?
CVE-2026-47721 is a security vulnerability in Fuxa server involving FUXA's scheduler API missing admin check enables operator-to-admin escalation via scheduled device actions under CWE-862: Missing Authorization.
Which Fuxa server versions are affected?
Affected versions include releases prior to current release patches across affected packages: fuxa-server.
What version fixes CVE-2026-47721?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is fuxa-server affected?
Yes, fuxa-server is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-47721?
CVE-2026-47721 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-47721?
CVE-2026-47721 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check npm dependencies for CVE-2026-47721?
Run the dependency tree command: 'npm ls fuxa-server'. 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-8ghr-w65f-j3qr",
  "modified" : "2026-06-08T23:07:02Z",
  "published" : "2026-06-08T23:07:02Z",
  "aliases" : [ "CVE-2026-47721" ],
  "summary" : "FUXA's scheduler API missing admin check enables operator-to-admin escalation via scheduled device actions",
  "details" : "## Summary\n\nAn authorization issue in the Scheduler API allowed authenticated non-admin users to create or modify scheduled actions that should be restricted to administrators.\n\n## Details\n\nThe Scheduler API did not correctly enforce administrator permissions when processing scheduler modifications.\n\nAs a result, authenticated users with non-administrative roles could create or modify scheduled actions that execute privileged operations, including device value changes and server-side script execution.\n\nThe issue was fixed in version 1.3.2 by enforcing the appropriate permission checks for scheduler modifications.\n\n\n## Impact\n\nAn operator-level user in FUXA reaches the PLC-write and server-side-script-execution surface that the platform otherwise restricts to administrators. In a SCADA deployment those two privileges cover setpoint control and the automation scripting engine. Alice schedules a job that rewrites a pump's enable tag, opens a safety interlock, or runs a project script that walks the device tree. The scheduled-action model extends the attack: Alice does not need to keep a session open for the action to fire, and a repeating schedule re-applies her changes every cycle even if an admin reverts them manually.\n\n**CVSS 3.1**: `AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L` (Medium, 6.3). CWE-862.\n\n## Recommended Fix\n\nAdd `authJwt.haveAdminPermission(permission)` to both `POST /api/scheduler` and `DELETE /api/scheduler`, matching every other write endpoint that reaches `runtime.devices.setTagValue` or `runtime.scriptsMgr.runScript`.\n\n```javascript\nschedulerApp.post(\"/api/scheduler\", secureFnc, function(req, res) {\n    if (res.statusCode === 403) {\n        runtime.logger.error(\"api post scheduler: Tocken Expired\");\n        return;\n    }\n    const permission = checkGroupsFnc(req);\n    const isGuest = authJwt.isGuestUser(req.userId, req.userGroups);\n    if (runtime.settings?.secureEnabled && (isGuest || !authJwt.haveAdminPermission(permission))) {\n        res.status(401).json({error:\"unauthorized_error\", message: \"Unauthorized!\"});\n        runtime.logger.error(\"api post scheduler: admin permission required\");\n        return;\n    }\n    // ... rest unchanged ...\n});\n```\n\nApply the same change to the delete handler at `server/api/scheduler/index.js:102-112`. As defense in depth, the scheduler service should also validate each `deviceActions` entry against the creator's stored groups before execution (e.g., reject `onRunScript` on any scheduler whose author is not an admin at execution time).\n\n---\nA fix is available at https://github.com/frangoteam/FUXA/releases/tag/v1.3.2.\n\n---\n*Found by [aisafe.io](https://aisafe.io)*",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "fuxa-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.1.14-1243"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/frangoteam/FUXA/security/advisories/GHSA-8ghr-w65f-j3qr"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/frangoteam/FUXA"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/frangoteam/FUXA/releases/tag/v1.3.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-08T23:07:02Z",
    "nvd_published_at" : null
  }
}