


Perceptive Security
SOC/SIEM Consultancy

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…
Published:
4 August 2026 at 22:00:00
Alert date:
5 August 2026 at 14:10:56
Source:
nvd.nist.gov
Mobile & IoT, Web Technologies, Zero-Day Vulnerabilities
CVE-2026-71278 affects rust-iot-platform, an IoT management platform written in Rust. The vulnerability exists in the POST /calc-rule/create endpoint, which lacks the AuthToken request guard used elsewhere in the application, making it accessible without authentication. An unauthenticated attacker can submit a malicious 'script' field when creating a calc rule. The stored script is later executed via quick_js::Context::eval() in api/src/biz/calc_run_biz.rs without any sandboxing or isolation. This allows an attacker to achieve arbitrary JavaScript execution within the server process. The combination of missing authentication and unsandboxed script execution makes this a critical severity vulnerability. Exploitation requires only the ability to reach the API endpoint and trigger the calc rule execution.
Technical details
Mitigation steps:
Affected products:
rust-iot-platform
Related links:
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
