CVE 8.6 HIGH

OpenClaw: Unsanitized CWD path injection into LLM prompts_CVE-2026-27001

8.6 / 10
HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

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.

AI Analysis

Unsanitized CWD path injection into LLM prompts

Basic Information

ID CVE-2026-27001
Source GitHub_M
Published Feb 19, 2026 at 23:10

Affected Product

Vendor openclaw
Product openclaw
Version < 2026.2.15
Affected Versions openclaw openclaw < 2026.2.15

CWE Classification

AI Assessment

AI Score 8.6 / 10
AI Severity High
Vendor OpenClaw
Product OpenClaw AI Assistant
Version < 2026.2.15

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.