Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openclaw
  4. ›
  5. GHSA-8rh7-6779-cjqq

GHSA-8rh7-6779-cjqq: OpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeover

April 1, 2026

OpenClaw loaded the current working directory .env before trusted state-dir configuration, allowing untrusted workspace state to inject host environment values.

References

  • github.com/advisories/GHSA-8rh7-6779-cjqq
  • github.com/openclaw/openclaw
  • github.com/openclaw/openclaw/commit/6a793248024dca7685f63bcceb64a0096fd1586d
  • github.com/openclaw/openclaw/releases/tag/v2026.3.28
  • github.com/openclaw/openclaw/security/advisories/GHSA-8rh7-6779-cjqq

Code Behaviors & Features

Detect and mitigate GHSA-8rh7-6779-cjqq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2026.3.28

Fixed versions

  • 2026.3.28

Solution

Upgrade to version 2026.3.28 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-426: Untrusted Search Path

Source file

npm/openclaw/GHSA-8rh7-6779-cjqq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:37 +0000.