# CVE-2026-35641: OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-30T18:52:09.000Z
- Modified: 2026-06-23T16:16:01.767Z
- Also known as: GHSA-m3mh-3mpg-37hw
- Weaknesses: CWE-349, CWE-426
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.3.24 (not affected: 2026.3.24)
- openclaw (npm): before 2026.3.24

## Every score

- VulnCheck: CVSS:4.0 8.4 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hw> (exploit, mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-npmrc-in-local-plugin-hook-installation> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35641> (advisory)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- CVE List: [CVE-2026-35641](https://www.cve.org/CVERecord?id=CVE-2026-35641), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-m3mh-3mpg-37hw](https://github.com/advisories/GHSA-m3mh-3mpg-37hw), CC-BY-4.0, modified 2026-04-10
- NVD: [CVE-2026-35641](https://nvd.nist.gov/vuln/detail/CVE-2026-35641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-35641 · Whole record: https://cve.day/CVE-2026-35641.json · Rebuilt by cve.day 2026-11-25T22:59:18.513Z
