GHSA-8wg3-5mcm-fjq8

Suggest an improvement
Source
https://github.com/advisories/GHSA-8wg3-5mcm-fjq8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-8wg3-5mcm-fjq8/GHSA-8wg3-5mcm-fjq8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8wg3-5mcm-fjq8
Aliases
Published
2026-07-02T16:57:30Z
Modified
2026-07-02T17:11:30Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Workspace .env could override Homebrew executable selection for skill install flows
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-426"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T16:57:30Z",
    "nvd_published_at":  "2026-06-11T21:16:24Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.5.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-8wg3-5mcm-fjq8/GHSA-8wg3-5mcm-fjq8.json"