Home

Description

OpenClaw before 2026.3.24 contains an arbitrary code execution vulnerability in local plugin and hook installation that allows attackers to execute malicious code by crafting a .npmrc file with a git executable override. During npm install execution in the staged package directory, attackers can leverage git dependencies to trigger execution of arbitrary programs specified in the attacker-controlled .npmrc configuration file.

PUBLISHED Reserved 2026-04-04 | Published 2026-04-10 | Updated 2026-04-14 | Assigner VulnCheck




HIGH: 8.4CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

Problem types

CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data

Product status

Default status
unaffected

Any version before 2026.3.24
affected

2026.3.24 (semver)
unaffected

Credits

妙尽璇机 (@ChangeYourWay) reporter

References

github.com/...enclaw/security/advisories/GHSA-m3mh-3mpg-37hw exploit

github.com/...enclaw/security/advisories/GHSA-m3mh-3mpg-37hw (GitHub Security Advisory (GHSA-m3mh-3mpg-37hw)) third-party-advisory

www.vulncheck.com/...npmrc-in-local-plugin-hook-installation (VulnCheck Advisory: OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation) third-party-advisory

cve.org (CVE-2026-35641)

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

Download JSON