GHSA-2j8v-hwgc-x698

Suggest an improvement
Source
https://github.com/advisories/GHSA-2j8v-hwgc-x698
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-2j8v-hwgc-x698/GHSA-2j8v-hwgc-x698.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2j8v-hwgc-x698
Aliases
Downstream
Published
2026-07-02T15:57:49Z
Modified
2026-07-08T08:12:35Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Shell wrapper argv could change between approval and execution
Details

Summary

Shell wrapper argv could change between approval and execution. In affected versions, a command request using a shell wrapper form could approve one resolved argv shape and rebuild another for execution.

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 a command shape that was not checked against the allowlist. 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.18.

Mitigations

require explicit approval for shell wrappers and avoid durable allowlists for wrapper-heavy commands 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-284"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T15:57:49Z",
    "nvd_published_at":  null,
    "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.18

Database specific

last_known_affected_version_range
"<= 2026.5.16"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-2j8v-hwgc-x698/GHSA-2j8v-hwgc-x698.json"