Skip to main content
Vulnerability Database/CVE-2026-78797

CVE-2026-78797: iStoreOS RCE Vulnerability

CVE-2026-78797 is a remote code execution vulnerability in iStoreOS istoreos-24.10.7 and earlier versions affecting the task_id parameter in tasks-lib.lua. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-78797 Overview

CVE-2026-78797 is a remote code execution vulnerability in iStoreOS versions 24.10.7 and earlier. The flaw resides in the tasks-lib.lua component, where the task_id parameter is passed to downstream handlers without proper sanitization. A remote attacker can inject arbitrary code through this parameter and achieve execution on the affected router. The weakness maps to CWE-94: Improper Control of Generation of Code. iStoreOS is a router operating system based on OpenWrt and used in home and small office network appliances.

Critical Impact

Remote attackers can execute arbitrary code on iStoreOS devices by injecting payloads into the task_id parameter processed by tasks-lib.lua.

Affected Products

  • iStoreOS 24.10.7
  • iStoreOS versions prior to 24.10.7
  • Deployments based on the iStoreOS repository including x86_64 EFI builds and VMware images

Discovery Timeline

  • 2026-10-09 - CVE-2026-78797 published to the National Vulnerability Database
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-78797

Vulnerability Analysis

The vulnerability affects tasks-lib.lua, a Lua helper library in iStoreOS that handles asynchronous task operations. The library accepts a task_id identifier from incoming requests and uses it in operations without enforcing a strict allowlist or escape routine. Because Lua code generated or evaluated from the identifier is executed within the device context, an attacker-controlled identifier translates directly into attacker-controlled execution. Successful exploitation grants command execution on the underlying router, which generally runs with elevated privileges. From that foothold, an attacker can modify firewall rules, intercept traffic, pivot to internal hosts, or persist across reboots by altering boot scripts. Full technical write-up is available in the GitHub RCE disclosure.

Root Cause

The root cause is improper control of code generation ([CWE-94]) in tasks-lib.lua. The task_id value flows into a code or command context without validation against an expected format such as a UUID or numeric identifier. This design turns a routine parameter into an execution sink.

Attack Vector

The attack vector is network-based and requires no user interaction. An attacker submits a crafted request containing a malicious task_id to the iStoreOS management interface. The disclosure labels the issue as authorized RCE, indicating that authentication to the device is required before exploitation. Devices exposed to untrusted networks or shared with multiple users are at the highest risk.

No verified public exploit code is included in this advisory. Readers can consult the vulnerability disclosure for technical reproduction details.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-78797

Indicators of Compromise

  • Unexpected processes spawned by the luci or uhttpd web stack on iStoreOS devices.
  • HTTP requests to task management endpoints containing non-standard characters, shell metacharacters, or Lua syntax in the task_id parameter.
  • Outbound connections from the router to unknown IP addresses shortly after management interface activity.
  • Modifications to /etc/rc.local, /etc/init.d/, or crontab entries without a corresponding administrator action.

Detection Strategies

  • Inspect web server access logs for requests referencing task endpoints with abnormal task_id values.
  • Alert on execution of shell binaries such as sh, wget, or curl as child processes of the HTTP daemon.
  • Correlate authentication events on the router with subsequent configuration changes to spot post-exploitation activity.

Monitoring Recommendations

  • Forward router syslog and web server logs to a centralized logging platform for retention and analysis.
  • Monitor north-south traffic from the router for unexpected outbound sessions, especially to non-ISP destinations.
  • Track firmware version and configuration state across all iStoreOS devices to detect drift from a known-good baseline.

How to Mitigate CVE-2026-78797

Immediate Actions Required

  • Restrict access to the iStoreOS web management interface to trusted VLANs or management hosts only.
  • Rotate all administrative credentials on affected devices and disable any shared or default accounts.
  • Disable remote WAN-side administration until a fixed firmware release is deployed.
  • Audit recent configuration changes, scheduled tasks, and running processes on each iStoreOS device.

Patch Information

At the time of publication, no fixed version is listed in the NVD entry. Administrators should monitor the iStoreOS GitHub repository and the KoolCenter firmware mirror for releases newer than 24.10.7 and apply them as soon as they become available.

Workarounds

  • Place the router management interface behind a VPN and block direct access from untrusted networks.
  • Enforce strong, unique administrator passwords and enable account lockout where supported.
  • Segment the router from client networks so that compromise cannot immediately pivot to sensitive hosts.
  • Review and remove unused Lua endpoints or plugins that expose task management functionality.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.