CVE-2026-71278: rust-iot-platform Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation

Published Aug 5, 2026
·
Updated

rust-iot-platform allows creating a "calc rule" via POST /calc-rule/create (api/src/controller/calcrulerouter.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 quickjs::Context::eval() in api/src/biz/calcrunbiz.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.

Affected Software

1 affected component
rust-iot-platform

Event History

Aug 5, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:24 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71278?

The severity of CVE-2026-71278 is critical with a score of 9.8.

2

How do I fix CVE-2026-71278?

To fix CVE-2026-71278, implement proper authentication for the POST /calc-rule/create endpoint and validate the script field to prevent remote code execution.

3

What are the potential impacts of CVE-2026-71278?

CVE-2026-71278 can lead to unauthenticated remote code execution, allowing an attacker to execute arbitrary code on the server.

4

Who is affected by CVE-2026-71278?

Users of the rust-iot-platform that expose the vulnerable endpoint without proper authentication are affected by CVE-2026-71278.

5

What type of vulnerability is CVE-2026-71278 categorized as?

CVE-2026-71278 is categorized as a Code Injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203