GHSA-6pfc-6m7w-m8fx

Suggest an improvement
Source
https://github.com/advisories/GHSA-6pfc-6m7w-m8fx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6pfc-6m7w-m8fx/GHSA-6pfc-6m7w-m8fx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6pfc-6m7w-m8fx
Downstream
Published
2026-03-31T23:59:53Z
Modified
2026-04-01T00:26:36.490018Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OpenClaw has a gateway exec allowlist allow-always bypass via unregistered /usr/bin/script wrapper
Details

Summary

Allow-always persistence did not unwrap /usr/bin/script and similar wrappers to the actual executed target before storing trust decisions.

Impact

A user approval for one wrapped command could persist trust for a wrapper binary that later executed a different underlying program.

Affected Component

src/infra/dispatch-wrapper-resolution.ts, src/infra/exec-wrapper-resolution.ts

Fixed Versions

  • Affected: <= 2026.3.24
  • Patched: >= 2026.3.28
  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit 83da3cfe31 (infra: unwrap script wrapper approval targets).

Database specific
{
    "nvd_published_at": null,
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-385"
    ],
    "github_reviewed_at": "2026-03-31T23:59:53Z"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

last_known_affected_version_range
"<= 2026.3.24"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6pfc-6m7w-m8fx/GHSA-6pfc-6m7w-m8fx.json"