Home

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.

PUBLISHED Reserved 2026-02-17 | Published 2026-02-19 | Updated 2026-02-20 | Assigner GitHub_M




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

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

< 2026.2.15
affected

References

github.com/...enclaw/security/advisories/GHSA-2qj5-gwg2-xwc4

github.com/...ommit/6254e96acf16e70ceccc8f9b2abecee44d606f79

github.com/openclaw/openclaw/releases/tag/v2026.2.15

cve.org (CVE-2026-27001)

nvd.nist.gov (CVE-2026-27001)

Download JSON