GHSA-rm5c-4rmf-vvhw

Suggest an improvement
Source
https://github.com/advisories/GHSA-rm5c-4rmf-vvhw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-rm5c-4rmf-vvhw/GHSA-rm5c-4rmf-vvhw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rm5c-4rmf-vvhw
Downstream
Published
2026-04-03T03:01:57Z
Modified
2026-04-03T20:31:32.566442Z
Severity
  • 5.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Sandbox file operations use check-then-act, bypassing fd-based TOCTOU defenses
Details

Summary

Sandbox file operations use check-then-act, bypassing fd-based TOCTOU defenses

Current Maintainer Triage

  • Status: narrow
  • Normalized severity: medium
  • Assessment: Released workspace-only apply_patch remove and mkdir operations were still check-then-act, but the draft overstates scope by bundling broader edit paths; keep it open but narrow it to the actual sandbox-workspace mutation boundary.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version: 2026.3.31
  • Vulnerable version range: <=2026.3.28
  • Patched versions: >= 2026.3.31
  • First stable tag containing the fix: v2026.3.31

Fix Commit(s)

  • 32a4a47d602e0618f87b3e59f94d8c142767f860 — 2026-03-30T16:49:49+01:00

OpenClaw thanks @AntAISecurityLab for reporting.

Database specific
{
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-367"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-03T03:01:57Z",
    "nvd_published_at": null
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-rm5c-4rmf-vvhw/GHSA-rm5c-4rmf-vvhw.json"
last_known_affected_version_range
"<= 2026.3.28"