CVE-2026-71278

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.
Configurations

No configuration.

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-08-05 13:24

Updated : 2026-10-23 21:10


NVD link : CVE-2026-71278

Mitre link : CVE-2026-71278

CVE.ORG link : CVE-2026-71278


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')