GHSA-3p2x-hjxj-c7rv

Suggest an improvement
Source
https://github.com/advisories/GHSA-3p2x-hjxj-c7rv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-3p2x-hjxj-c7rv/GHSA-3p2x-hjxj-c7rv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3p2x-hjxj-c7rv
Withdrawn
2026-03-24T19:04:22Z
Published
2026-03-21T03:31:13Z
Modified
2026-03-24T19:16:36.982007Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
  • 5.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: OpenClaw's system.run approval TOCTOU via mutable symlink cwd target on node host
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-mwcg-wfq3-4gjc. This link is maintained to preserve external references.

Original Description

OpenClaw versions prior to 2026.2.25 contain a time-of-check-time-of-use vulnerability in approval-bound system.run execution where the cwd parameter is validated at approval time but resolved at execution time. Attackers can retarget a symlinked cwd between approval and execution to bypass command execution restrictions and execute arbitrary commands on node hosts.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-24T19:04:22Z",
    "cwe_ids": [
        "CWE-367"
    ],
    "severity": "MODERATE",
    "nvd_published_at": "2026-03-21T01:17:06Z"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2026.2.24

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-3p2x-hjxj-c7rv/GHSA-3p2x-hjxj-c7rv.json"