Security Resilience

CVE-2026-27001

Command Injection in Openclaw ≤ 2026.2.15

Published
20 February 2026
Modified
20 February 2026
Patch / advisory
CVSS Score v4 8.6
Click a component to see what it means
Raw vectorCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0028 13th percentile
Risk Priority 36 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-27001 is a high-severity Command Injection (CWE-77) vulnerability in Openclaw. Its CVSS base score is 8.6 (High).

Operationally, ranked at the 13th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as Enterprise AI Assistants; in the LLM/Generative AI Risks risk domain.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-27001 is a vulnerability in OpenClaw, a personal AI assistant, affecting versions prior to 2026.2.15. The issue arises from embedding the current working directory, or workspace path, into the agent system prompt without sanitization. Directory names containing control or format characters, such as newlines or Unicode bidi/zero-width markers, can disrupt the prompt structure and enable injection of attacker-controlled instructions. It is associated with CWE-77 and carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

A local attacker with low privileges can exploit this vulnerability by running OpenClaw within a directory whose name includes malicious control or format characters. This allows the characters to break the intended prompt format, injecting arbitrary instructions into the LLM processing. Successful exploitation can result in high impacts to confidentiality, integrity, and availability.

Mitigation is addressed in the OpenClaw GitHub security advisory (GHSA-2qj5-gwg2-xwc4), commit 6254e96acf16e70ceccc8f9b2abecee44d606f79, and release v2026.2.15. Starting with version 2026.2.15, the workspace path is sanitized prior to embedding in any LLM prompt output by stripping Unicode control/format characters and explicit line/paragraph separators. Workspace path resolution also incorporates the same sanitization as a defense-in-depth measure; users are advised to upgrade immediately.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
Enterprise AI Assistants
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
AI-specific weaknesses CR
  • CWE-1427 — Unsanitized workspace path embedded in LLM system prompt enables injection via control chars.
Mapped by Security Resilience · not in NVD. Poisoning and extraction cases are routed to MITRE ATLAS instead of a synthetic CWE.
Classification Reason
Matched keywords: ai, llm

Related Threats

CVEs Like This One

CVE-2026-32063Same product: Openclaw Openclaw
CVE-2026-26326Same product: Openclaw Openclaw
CVE-2026-27488Same product: Openclaw Openclaw
CVE-2026-27009Same product: Openclaw Openclaw
CVE-2026-27007Same product: Openclaw Openclaw
CVE-2026-27486Same product: Openclaw Openclaw
CVE-2026-32052Same product: Openclaw Openclaw
CVE-2026-25474Same product: Openclaw Openclaw
CVE-2026-26329Same product: Openclaw Openclaw
CVE-2026-27002Same product: Openclaw Openclaw

Affected Assets

openclaw
openclaw
≤ 2026.2.15

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References