CVE-2026-71278
JSON

9.8critical

rust-iot-platform Unauthenticated Remote Code Execution via Unsandboxed Calc-Rule Script Evaluation

Severity
9.8critical CVSS:3.1 by TuranSec
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
TuranSec

Description

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.

Affected

Product or packageVersionsReported by
iot-ecology rust-iot-platformup to *CVE List

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

rust-IoT-platform permite crear una ’regla de cálculo’ vía POST /calc-rule/create (API/src/controller/calc_rule_router.rs) que contiene un campo ’script’ arbitrario. Esta ruta no utiliza el guard de solicitud AuthToken usado en otras partes de la aplicación, haciéndola accesible sin autenticación. El script almacenado se ejecuta posteriormente vía quick_js::Context::eval() en API/src/biz/calc_run_biz.rs sin sandboxing, permitiendo a un atacante no autenticado lograr la ejecución arbitraria de JavaScript en el proceso del servidor al crear y activar una ’regla de cálculo’ maliciosa.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71278 changed 2026-08-10CVE Terms of Use
NVDCVE-2026-71278 changed 2026-10-23Public domain