CVE-2026-28484
OpenClaw versions prior to 2026.2.15 contain an option injection …
OpenClaw versions prior to 2026.2.15 contain an option injection vulnerability in the git-hooks/pre-commit hook that allows attackers to stage ignored files by creating maliciously-named files beginning with dashes. The hook fails to use a -- separator when piping filenames through xargs to git add, enabling attackers to inject git flags and add sensitive ignored files like .env to git history.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openclaw/openclaw/commit/b88f37762f5b6d7ec0f589eb761815e466e4ef4b
- github.com/openclaw/openclaw/commit/ba84b1253967143692166023f9e174c149b6f2ed
- github.com/openclaw/openclaw/security/advisories/GHSA-mmpf-jwf4-h3qv
- www.vulncheck.com/advisories/openclaw-option-injection-in-pre-commit-hook-via-malicious-fi
- nvd.nist.gov/vuln/detail/CVE-2026-28484
- cve.org/CVERecord?id=CVE-2026-28484
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.