GHSA-xw4p-pw82-hqr7

Suggest an improvement
Source
https://github.com/advisories/GHSA-xw4p-pw82-hqr7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-xw4p-pw82-hqr7/GHSA-xw4p-pw82-hqr7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xw4p-pw82-hqr7
Aliases
Published
2026-03-02T22:51:51Z
Modified
2026-03-06T01:16:30Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L CVSS Calculator
  • 5.6 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw's sandbox skill mirroring path traversal vulnerability could write outside the sandbox workspace
Details

Overview

In affected versions, OpenClaw’s sandbox skill mirroring used the skill’s frontmatter name as part of the destination path when copying skills into the sandbox workspace. A crafted skill name containing traversal segments (for example ../) or an absolute path could cause the copy to write outside <sandbox_workspace>/skills/.

Impact

  • Files may be written outside the sandbox workspace root (within the permissions of the user running OpenClaw).

Attack Requirements

  • Attacker can provide a skill package (controls SKILL.md frontmatter).
  • Victim runs with sandbox enabled and skill mirroring into the sandbox workspace.

Affected Packages / Versions

  • openclaw (npm): < 2026.2.14

Fixed In

  • openclaw (npm): >= 2026.2.14

Fix Commit(s)

  • 3eb6a31b6fcf8268456988bfa8e3637d373438c2

OpenClaw thanks @1seal for reporting.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-02T22:51:51Z",
    "nvd_published_at":  "2026-03-05T22:16:18Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-xw4p-pw82-hqr7/GHSA-xw4p-pw82-hqr7.json"