---
id: CVE-2026-53819
title: >-
  OpenClaw: Workspace .env could override Homebrew executable selection for
  skill install flows
summary: >-
  OpenClaw: Workspace .env could override Homebrew executable selection for
  skill install flows
severity: high
cvss: 8.8
cwe:
  - CWE-426
vendor: openclaw
product: openclaw
ecosystem: npm
affected:
  - openclaw < 2026.5.27
patched:
  - openclaw 2026.5.27
published: '2026-07-02'
updated: '2026-07-02'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-8wg3-5mcm-fjq8'
references:
  - url: >-
      https://github.com/openclaw/openclaw/security/advisories/GHSA-8wg3-5mcm-fjq8
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53819'
  - url: >-
      https://www.vulncheck.com/advisories/openclaw-arbitrary-homebrew-executable-execution-via-workspace-env-override
  - url: 'https://github.com/advisories/GHSA-8wg3-5mcm-fjq8'
tags:
  - ghsa
  - npm
epss: 0.00415
epssPercentile: 0.33087
ingestedAt: '2026-07-02T17:40:39.328Z'
---

## Overview

### Summary

Workspace .env could override Homebrew executable selection for skill install flows. In affected versions, a workspace `.env` in a repository opened by a trusted operator could override the Homebrew executable used by the install helper.

This advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.

### Impact

When the affected feature is enabled and reachable, this could run an unintended Homebrew-compatible executable during skill setup. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.

### Patched Versions

The first stable patched version is `2026.5.27`.

### Mitigations

avoid running skill install flows from untrusted workspaces until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.

## Affected packages

- `openclaw < 2026.5.27`

## Remediation

Upgrade to a patched release:

- `openclaw 2026.5.27`
