Read the docs
TI-2026-21478 Aliases CVE-2026-27001GHSA-2qj5-gwg2-xwc4

OpenClaw: Unsanitized CWD path injection into LLM prompts

Priority LOW 39CWE-77Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

OpenClaw is a personal AI assistant. Prior to version 2026.2.15, OpenClaw embedded the current working directory (workspace path) into the agent system prompt without sanitization. If an attacker can cause OpenClaw to run inside a directory whose name contains control/format characters (for example newlines or Unicode bidi/zero-width markers), those characters could break the prompt structure and inject attacker-controlled instructions. Starting in version 2026.2.15, the workspace path is sanitized before it is embedded into any LLM prompt output, stripping Unicode control/format characters and explicit line/paragraph separators. Workspace path resolution also applies the same sanitization as defense-in-depth.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00227 13th percentileScored 2026-11-08
Fix Fixed openclaw (openclaw): 2026.2.15openclaw (npm): 2026.2.15

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenClawopenclawbefore 2026.2.152026.2.15Patch availableCNA
—openclaw (npm)before 2026.2.152026.2.15Patch availableGHSA-2qj5-gwg2-xwc4
  • openclaw VendorOpenClaw Affected before 2026.2.15 Fixed in 2026.2.15 Patch available CNA
  • openclaw (npm) Vendor— Affected before 2026.2.15 Fixed in 2026.2.15 Patch available GHSA-2qj5-gwg2-xwc4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*before 2026.2.15VulnerableOpenClaw
  • cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* Versions before 2026.2.15 Vulnerable ·OpenClaw

Remediation

  • Fix · CNA openclaw (openclaw) Fixed in 2026.2.15
  • Fix · GHSA-2qj5-gwg2-xwc4 openclaw (npm) Fixed in 2026.2.15 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27001
  2. 2026-10-03 Alias added: GHSA-2qj5-gwg2-xwc4

References

  • TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
  • TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
  • TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
  • TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
  • TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
  • TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
See all 574 →

Sources