{"id":"CVE-2026-43947","summary":"FUXA Vulnerable to Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass","details":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Version 1.3.0 has an unauthenticated Remote Code Execution vulnerability 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. Version 1.3.1 fixes the issue.","aliases":["GHSA-rg3m-cfq7-g6h6"],"modified":"2026-07-25T03:56:27.332089467Z","published":"2026-07-21T21:33:09.631Z","database_specific":{"cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43947.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/frangoteam/FUXA/releases/tag/v1.3.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43947.json"},{"type":"ADVISORY","url":"https://github.com/frangoteam/FUXA/security/advisories/GHSA-rg3m-cfq7-g6h6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43947"},{"type":"FIX","url":"https://github.com/frangoteam/FUXA/commit/78534da61a91613712b44bb63c8d7da8c5df5ca4"},{"type":"FIX","url":"https://github.com/frangoteam/FUXA/pull/2260"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/frangoteam/fuxa","events":[{"introduced":"029c42a41e85dc78def81682c5aac490a88ef223"},{"fixed":"78534da61a91613712b44bb63c8d7da8c5df5ca4"},{"fixed":"c48f6560d8bc2e678322d2c5b21887d038a69c48"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"= 1.3.0"},{"last_affected":"= 1.3.0"}]}}],"versions":["= 1.3.0","v1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43947.json"}}],"schema_version":"1.7.5","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"}]}