{"id":"CVE-2026-43947","state":"PUBLISHED","title":"FUXA Vulnerable to Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass","description":"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.","publishedAt":"2026-07-21T21:33:09.631Z","updatedAt":"2026-07-23T13:57:18.426Z","severity":{"score":8.9,"label":"High","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["frangoteam FUXA"],"affected":[{"vendor":"frangoteam","product":"FUXA","versions":[{"version":"= 1.3.0","status":"affected"}]}],"references":["https://github.com/frangoteam/FUXA/security/advisories/GHSA-rg3m-cfq7-g6h6","https://github.com/frangoteam/FUXA/pull/2260","https://github.com/frangoteam/FUXA/commit/78534da61a91613712b44bb63c8d7da8c5df5ca4","https://github.com/frangoteam/FUXA/releases/tag/v1.3.1"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43947.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43947","state":"PUBLISHED","datePublished":"2026-07-21T21:33:09.631Z","dateUpdated":"2026-07-23T13:57:18.426Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-04T16:59:09.090Z"},"containers":{"cna":{"title":"FUXA Vulnerable to Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"frangoteam","product":"FUXA","versions":[{"version":"= 1.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/frangoteam/FUXA/security/advisories/GHSA-rg3m-cfq7-g6h6","name":"https://github.com/frangoteam/FUXA/security/advisories/GHSA-rg3m-cfq7-g6h6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/frangoteam/FUXA/pull/2260","name":"https://github.com/frangoteam/FUXA/pull/2260","tags":["x_refsource_MISC"]},{"url":"https://github.com/frangoteam/FUXA/commit/78534da61a91613712b44bb63c8d7da8c5df5ca4","name":"https://github.com/frangoteam/FUXA/commit/78534da61a91613712b44bb63c8d7da8c5df5ca4","tags":["x_refsource_MISC"]},{"url":"https://github.com/frangoteam/FUXA/releases/tag/v1.3.1","name":"https://github.com/frangoteam/FUXA/releases/tag/v1.3.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-21T21:33:09.631Z"},"source":{"advisory":"GHSA-rg3m-cfq7-g6h6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/frangoteam/FUXA/security/advisories/GHSA-rg3m-cfq7-g6h6","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-23T13:57:00.510556Z","id":"CVE-2026-43947","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-23T13:57:18.426Z"}}]}}}