top of page
perceptive_background_267k.jpg

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

Click to open the original link from this advisory

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.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page