NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-26323: OpenClaw has a command injection in maintainer clawtributors updater

highCVSS 4.0 8.6GHSA-m7x8-2w3w-pr42

OpenClaw's maintainer script `scripts/update-clawtributors.ts` passes a GitHub login taken from git commit metadata into a shell command. A malicious commit author email can run arbitrary commands when someone runs the script in a source checkout. The shipped CLI is not affected. Source checkouts between tags v2026.1.8 and v2026.2.13 are affected. The fix is 2026.2.14.

Published Feb 18, 2026 · Updated Feb 20, 2026 · Analysis Oct 31, 2026

What an attacker can do

The script reads git log author data and derives a GitHub login from it, for example from a crafted @users.noreply.github.com address. In fetchUser it then built the command gh api users/${login} and ran it with execSync, which goes through a shell. Shell metacharacters in the login were executed as commands (CWE-78).

The attacker needs a commit in the repository history with a crafted author email, and someone must run bun scripts/update-clawtributors.ts afterwards. That victim is a contributor, a maintainer or a CI job. The attacker gets code execution with that user's rights, so a CI job with tokens or a maintainer's workstation with credentials is the real prize. The CVSS 4.0 vector shows user interaction as passive and high confidentiality and integrity impact.

The advisory states that normal use is not affected. Installing with npm i -g openclaw does not ship this script, and routine operation never runs it.

Who is affected

Source checkouts from tag v2026.1.8 through v2026.2.13 inclusive, which is the range >= 2026.1.8, < 2026.2.14. The npm package openclaw is listed with that range, but the advisory says the script is not part of the shipped CLI. Check whether you run the script anywhere:

git describe --tags
grep -rn "update-clawtributors" .github package.json

For an installed copy, run npm ls -g openclaw.

openclaw

Ecosystem
npm
Affected
>= 2026.1.8, < 2026.2.14
Fixed in
2026.2.14
Check
npm ls openclaw

How to fix it

Update to 2026.2.14, the patched version (fix commit a429380e337152746031d290432a4b93aa553d55). The fix replaces execSync with execFileSync("gh", ["api", ...]), so no shell parses the login. It also adds an isValidLogin check that accepts only 1 to 39 alphanumeric or hyphen characters, with no leading, trailing or doubled hyphens.

npm install -g [email protected]

The advisory gives no other workaround. Until you update a checkout, do not run the script on repositories with untrusted commits.

How to tell if you were hit

Review the author emails in the history of any checkout where the script ran, looking for shell metacharacters such as backticks, $(, semicolons or pipes in the local part of the address:

git log --format='%H %ae' | grep -E '[;|&`$()]'

In CI, check logs of jobs that ran update-clawtributors.ts for unexpected child processes, outbound connections or gh api users/ calls with odd arguments.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Command injection in the maintainer/dev script scripts/update-clawtributors.ts.

Impact

Affects contributors/maintainers (or CI) who run bun scripts/update-clawtributors.ts in a source checkout that contains a malicious commit author email (e.g. crafted @users.noreply.github.com values).

Normal CLI usage is not affected (npm i -g openclaw): this script is not part of the shipped CLI and is not executed during routine operation.

Affected Versions

  • Source checkouts: tags v2026.1.8 through v2026.2.13 (inclusive)
  • Version range (structured): >= 2026.1.8, < 2026.2.14

Details

The script derived a GitHub login from git log author metadata and interpolated it into a shell command (via execSync). A malicious commit record could inject shell metacharacters and execute arbitrary commands when the script is run.

Fix

  • Fix commit: a429380e337152746031d290432a4b93aa553d55
  • Planned patched version: 2026.2.14

Credits

Thanks @scanleale and @MegaManSec (https://joshua.hu) of AISLE Research Team for reporting.

Credited to scanleale, MegaManSec.

Questions

Does CVE-2026-26323 affect a normal npm install of OpenClaw?

No. The advisory says the script is not part of the shipped CLI and is not run during routine operation. It concerns source checkouts where the maintainer script is run.

What triggers the command injection?

Running bun scripts/update-clawtributors.ts in a checkout that contains a commit with a crafted author email. The login derived from it reaches execSync.

Which version fixes it?

2026.2.14. Affected source tags run from v2026.1.8 through v2026.2.13.

Is it exploited in the wild?

The sources do not report exploitation and it is not in CISA's KEV catalog.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries