Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach exposed API endpoint
-
DeliveryPOST /calc-rule/create with malicious script
-
ExploitBypass missing AuthToken guard
-
InstallStore arbitrary JavaScript rule
-
C2Trigger calc rule evaluation
-
Executequick_js eval() runs payload
-
ImpactArbitrary code execution in server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The specific prerequisite is network reachability of the rust-iot-platform API's POST /calc-rule/create endpoint; the AuthToken guard used elsewhere is absent on this exact route, so no credentials are needed. The attacker must supply an arbitrary JavaScript payload in the rule's |
| Impact | This is a genuine high priority, not an inflated CVSS. The provided vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) is internally consistent with the description: network-reachable, low complexity, no authentication (the guard is missing), no user interaction, and full C/I/A impact from arbitrary code execution. No EPSS score, KEV entry, SSVC decision, or POC was supplied, so probability-of-exploitation signals are absent - the risk case rests on the strong, source-level description of a missing auth guard feeding an unsandboxed eval(), which is a well-understood and easily weaponizable pattern. The main mitigating real-world factor is prevalence: this is a niche open-source project, so exploitation is likely to be opportunistic/targeted against the few exposed instances rather than mass-scanned, and absence of EPSS/KEV should not be read as low technical risk - only as low current evidence of in-the-wild activity. |
| Exploit ScenarioDerived | An attacker who can reach the API network endpoint sends an unauthenticated POST /calc-rule/create containing a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Unauthenticated remote code execution in iot-ecology's rust-iot-platform allows attackers to run arbitrary JavaScript in the server process by creating a malicious "calc rule". The POST /calc-rule/create endpoint omits the AuthToken guard applied to other routes, and the supplied script field is later passed unsandboxed to quick_js::Context::eval(), giving full script execution once triggered. CVSS is 9.8; no public exploit identified at time of analysis, though the flaw is trivially reachable and the root cause is confirmed by source-level reference.
RemediationAI
No vendor-released patch identified at time of analysis and no fixed version was provided, so apply compensating controls immediately. First, restore authentication by adding the AuthToken request guard to POST /calc-rule/create in api/src/controller/calc_rule_router.rs so the endpoint matches the rest of the API; this closes the unauthenticated reachability with minimal functional side effects. Second, eliminate or constrain the eval sink in api/src/biz/calc_run_biz.rs - replace quick_js::Context::eval() on raw user input with a restricted expression evaluator or, if QuickJS must stay, run it with a locked-down context (no host bindings), memory and execution-time limits, and strict input validation of the script field; note this may break legitimate complex rules and require a rule allowlist. As a network-layer stopgap, block or restrict access to the /calc-rule/create endpoint at a reverse proxy or WAF and place the API behind a VPN/trusted network, accepting that this also limits legitimate remote rule management. Track the project repository (https://github.com/iot-ecology/rust-iot-platform) for an official fix and cite the exact patched version once published rather than inventing one.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
rust-iot-platform is a Rust-based IoT data/management platform (Actix-style API in api/src) that evaluates user-defined "calc rules" - small JavaScript expressions used to transform or compute over IoT telemetry - through the QuickJS engine via the quick_js crate's Context::eval(). The vulnerability is a classic CWE-94 Code Injection: attacker-controlled input (the calc rule's script field) flows directly into a language interpreter with no sandbox, allowlist, or timeout, so arbitrary JS runs with the privileges of the API process. Compounding this, the create route in api/src/controller/calc_rule_router.rs does not include the AuthToken request guard used on sibling routes, so the injection sink is reachable pre-authentication. The affected package per CPE is cpe:2.3:a:iot-ecology:rust-iot-platform.
Know when Rust Iot Platform gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Missing auth guard makes the endpoint network-reachable with no privileges (PR:N/AV:N/AC:L), and unsandboxed eval() yields full code execution, so C/I/A all High.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
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 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 quick_js::Context::eval() in api/src/biz/calc_run_biz.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.
Executive ViewAI
rust-iot-platform contains a critical unauthenticated remote code execution vulnerability (CVE-2026-71278, CVSS 9.8) that allows attackers to execute arbitrary JavaScript code on affected servers without credentials. This affects any organization deploying this IoT platform and requires immediate containment, as no vendor patch is currently available.
Until patch available: (1) Disable or isolate the /calc-rule/create endpoint at network or application gateway layer; (2) Implement Web Application Firewall rules rejecting POST requests to /calc-rule/create; (3) Restrict network access to rust-iot-platform instances to trusted internal networks only; (4) Deploy enhanced monitoring and logging on POST requests to /calc-rule/create and unexpected JavaScript execution in application server processes; (5) Conduct network segmentation review to limit blast radius if endpoint is compromised.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Rust Iot Platform
View allAuthentication bypass in iot-ecology's rust-iot-platform (through commit 5df942ab) exposes user-account management endpo
Authentication bypass in iot-ecology's rust-iot-platform lets any remote attacker reach every endpoint guarded by the Au
Cleartext password storage in rust-iot-platform (through commit 5df942ab) enables unauthenticated network attackers to h
EUVD-2026-53363
GHSA-j4r7-rp8f-vhp4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB