Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71278: CWE-94 in iot-ecology rust-iot-platform

0
Critical
Published: 08/05/2026 (08/05/2026, 15:32:20 UTC)
Source: CVE Database V5
Vendor/Project: iot-ecology
Product: rust-iot-platform

Description

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.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:29:42 UTC

Technical Analysis

The rust-iot-platform exposes a POST /calc-rule/create endpoint that accepts a 'script' field in the request body. This endpoint does not enforce authentication, unlike other parts of the application. The submitted script is stored and later executed using quick_js::Context::eval() without any sandboxing or restrictions. This design flaw allows an unauthenticated attacker to execute arbitrary JavaScript code within the server process, leading to full compromise of confidentiality, integrity, and availability.

Potential Impact

An attacker can achieve remote code execution on the server without any authentication, leading to complete system compromise. The vulnerability affects confidentiality, integrity, and availability of the affected system. Given the high CVSS score of 9.8, the impact is critical.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the vulnerable API endpoint by implementing authentication and input validation. Avoid executing untrusted scripts without sandboxing.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T12:23:34.967Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7336e5bf8831d539ed9264

Added to database: 08/05/2026, 13:13:09 UTC

Last enriched: 08/05/2026, 13:29:42 UTC

Last updated: 08/06/2026, 02:57:06 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses