Command injection in OpenClaw - #VU129428

 

Command injection in OpenClaw - #VU129428

Published: May 4, 2026


Vulnerability identifier: #VU129428
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: OpenClaw
Affected software:
OpenClaw

Detailed vulnerability description

The vulnerability allows a local user to stage ignored files.

The vulnerability exists due to command injection in git-hooks/pre-commit when processing maliciously named files during commits. A local user can create a specially named file beginning with a hyphen to stage ignored files.

This issue only affects contributors using the repository's built-in git hook setup from a repository checkout or source release, and only when sensitive ignored files are present in the working directory.


Remediation

Install security update from vendor's website.

Sources