Home

Description

OpenClaw version 2026.2.19-2 prior to 2026.2.21 contains a command injection vulnerability in systemd unit file generation where attacker-controlled environment values are not validated for CR/LF characters, allowing newline injection to break out of Environment= lines and inject arbitrary systemd directives. An attacker who can influence config.env.vars and trigger service install or restart can execute arbitrary commands with the privileges of the OpenClaw gateway service user.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-11 | Updated 2026-03-11 | Assigner VulnCheck




MEDIUM: 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
HIGH: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Problem types

Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

Default status
unaffected

2026.2.19-2 (semver) before 2026.2.21
affected

2026.2.21
unaffected

Credits

@tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-vffc-f7r7-rx2w exploit

github.com/...enclaw/security/advisories/GHSA-vffc-f7r7-rx2w (GitHub Security Advisory (GHSA-vffc-f7r7-rx2w)) vendor-advisory

github.com/...ommit/61f646c41fb43cd87ed48f9125b4718a30d38e84 (Patch Commit) patch

www.vulncheck.com/...-via-newline-in-systemd-unit-generation (VulnCheck Advisory: OpenClaw 2026.2.19-2 < 2026.2.21 - Command Injection via Newline in systemd Unit Generation) third-party-advisory

cve.org (CVE-2026-32063)

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

Download JSON