Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. CVE-2026-32063

CVE-2026-32063: OpenClaw Improperly Neutralizes Line Breaks in systemd Unit Generation Enables Local Command Execution (Linux)

March 3, 2026 (updated March 16, 2026)

A command injection vulnerability exists in OpenClaw’s Linux systemd unit generation path. When rendering Environment= entries, attacker-controlled values are not rejected for CR/LF, and systemdEscapeArg() uses an incorrect whitespace-matching regex. This allows newline injection to break out of an Environment= line and inject standalone systemd directives (for example, ExecStartPre=). On service restart, the injected command is executed, resulting in local arbitrary command execution (local RCE) under the gateway service user.


References

  • github.com/advisories/GHSA-vffc-f7r7-rx2w
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/61f646c41fb43cd87ed48f9125b4718a30d38e84
  • github.com/openclaw/openclaw/security/advisories/GHSA-vffc-f7r7-rx2w
  • nvd.nist.gov/vuln/detail/CVE-2026-32063
  • www.vulncheck.com/advisories/openclaw-command-injection-via-newline-in-systemd-unit-generation

Code Behaviors & Features

Detect and mitigate CVE-2026-32063 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.2.21

Fixed versions

  • 2026.2.21

Solution

Upgrade to version 2026.2.21 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/openclaw/CVE-2026-32063.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.