rust-iot-platform allows creating a "calc rule" via POST /calc-rule/create (api/src/controller/calc_rule_router.rs) containing an arbitrary field. This route does not take the AuthToken request guard used elsewhere in the application, making it reachable without authentication.
History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description rust-iot-platform allows creating a "calc rule" via POST /calc-rule/create (api/src/controller/calc_rule_router.rs) containing an arbitrary `script` field. This route does not take the AuthToken request guard used elsewhere in the application, making it reachable without authentication. The stored script is subsequently executed via quick_js::Context::eval() in api/src/biz/calc_run_biz.rs with no sandboxing, allowing an unauthenticated attacker to achieve arbitrary JavaScript execution in the server process by creating and triggering a malicious calc rule. rust-iot-platform allows creating a "calc rule" via POST /calc-rule/create (api/src/controller/calc_rule_router.rs) containing an arbitrary field. This route does not take the AuthToken request guard used elsewhere in the application, making it reachable without authentication.
Title rust-iot-platform - Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation rust-iot-platform Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title rust-iot-platform Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation rust-iot-platform - Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation

Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Iot-ecology
Iot-ecology rust-iot-platform
Vendors & Products Iot-ecology
Iot-ecology rust-iot-platform

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description rust-iot-platform allows creating a "calc rule" via POST /calc-rule/create (api/src/controller/calc_rule_router.rs) containing an arbitrary `script` field. This route does not take the AuthToken request guard used elsewhere in the application, making it reachable without authentication. The stored script is subsequently executed via quick_js::Context::eval() in api/src/biz/calc_run_biz.rs with no sandboxing, allowing an unauthenticated attacker to achieve arbitrary JavaScript execution in the server process by creating and triggering a malicious calc rule.
Title rust-iot-platform Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published: 2026-08-05T12:26:24.720Z

Updated: 2026-08-10T11:46:58.434Z

Reserved: 2026-08-05T12:23:34.967Z

Link: CVE-2026-71278

cve-icon Vulnrichment

Updated: 2026-08-05T15:57:09.318Z

cve-icon NVD

Status : Deferred

Published: 2026-08-05T13:24:52.320

Modified: 2026-08-26T17:13:24.800

Link: CVE-2026-71278

cve-icon Redhat

No data.