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-108159 Overview
CVE-2026-108159 is a cross-site scripting (XSS) vulnerability in the AstronRPA desktop client through version 1.1.6. The flaw resides in the smart-component chat feature, which renders unsanitized output from a large language model (LLM) through Vue's v-html directive. Attackers can plant prompt-injection content on a web page so the model emits HTML event handlers that invoke an unrestricted open-path inter-process communication (IPC) handler. The IPC handler accepts shell metacharacters, allowing arbitrary operating system command execution as the desktop user. The weakness is tracked under CWE-79.
Critical Impact
Remote attackers can achieve code execution on AstronRPA desktop clients by chaining prompt injection with an unsafe IPC bridge, compromising confidentiality, integrity, and availability.
Affected Products
- AstronRPA desktop client through version 1.1.6
- frontend/packages/web-app/src/components/SmartComponent module
- Deployments exposing the smart-component chat to untrusted web content
Discovery Timeline
- 2026-10-09 - CVE-2026-108159 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108159
Vulnerability Analysis
AstronRPA embeds an LLM-driven smart-component chat inside its Electron-based desktop client. The chat UI renders model responses directly to the DOM through Vue's v-html directive without sanitization. Because the LLM can be influenced by content fetched from arbitrary web pages, an attacker controls part of the rendered HTML. The rendered markup can carry inline event handlers such as onerror or onclick that execute JavaScript inside the privileged renderer context.
The renderer exposes an open-path IPC handler that forwards its argument to the host operating system without validating or escaping shell metacharacters. Combined, these two defects turn an indirect prompt injection into reliable command execution on the victim host. The attack requires user interaction with the chat feature and succeeds when the model consumes attacker-controlled page content.
Root Cause
Two design flaws combine to produce the vulnerability. First, the chat view trusts LLM output as safe HTML and uses v-html instead of text binding or a sanitizer such as DOMPurify. Second, the open-path IPC bridge performs no allowlist validation or argument quoting before passing data to a shell. See the vulnerable render path in the upstream source file.
Attack Vector
An attacker publishes a web page containing prompt-injection text. When the AstronRPA user asks the smart component to summarize or browse that page, the model emits HTML containing an event handler that calls the open-path IPC handler with shell metacharacters. The handler invokes the shell, executing arbitrary commands under the desktop user's privileges. Technical details are documented in the VulnCheck advisory and tracked in GitHub Issue #892.
Detection Methods for CVE-2026-108159
Indicators of Compromise
- Unexpected child processes of the AstronRPA desktop client such as cmd.exe, powershell.exe, /bin/sh, or bash spawned shortly after chat interactions.
- Outbound network connections from AstronRPA to unknown hosts following smart-component chat sessions.
- Chat history entries containing HTML event handler attributes such as onerror=, onload=, or onclick= in model responses.
Detection Strategies
- Hunt for AstronRPA renderer processes invoking shell interpreters or writing to startup locations.
- Alert on open-path IPC calls containing shell metacharacters such as ;, |, &&, or backticks.
- Correlate browser or RPA automation telemetry with endpoint process creation events to identify prompt-injection chains.
Monitoring Recommendations
- Collect and retain Electron renderer and main-process telemetry including command-line arguments and parent-child process lineage.
- Monitor logs from the AstronRPA smart component for abnormally long or script-laden model responses.
- Baseline normal child-process behavior of the RPA client and flag deviations for review.
How to Mitigate CVE-2026-108159
Immediate Actions Required
- Restrict use of the smart-component chat with untrusted or externally fetched web content until a patched release is deployed.
- Block or disable the open-path IPC handler at the application or endpoint policy level where feasible.
- Run AstronRPA under a least-privileged desktop account to limit the impact of code execution.
Patch Information
No fixed version is identified in the NVD entry at publication. Monitor the AstronRPA GitHub repository and GitHub Issue #892 for a patched release. Upgrade immediately once a version beyond 1.1.6 containing both output sanitization and IPC input validation is published.
Workarounds
- Replace v-html rendering of LLM output with a sanitizing renderer or plain text binding in local builds.
- Add an allowlist and shell-metacharacter rejection to the open-path IPC handler so only vetted paths are opened.
- Use application control to prevent the AstronRPA client from spawning shell interpreters or scripting hosts.
# Example endpoint policy: block shell interpreters launched by AstronRPA
# (illustrative - adapt to your EDR or AppLocker tooling)
Deny ParentProcess=astron-rpa.exe ChildProcess in (cmd.exe, powershell.exe, wscript.exe, cscript.exe)
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

