CVE-2026-28457: OpenClaw's sandbox skill mirroring path traversal vulnerability could write outside the sandbox workspace
OpenClaw before 2026.2.14 copies skills into its sandbox using the skill's frontmatter name as part of the path. A crafted name with dot-dot segments or an absolute path writes files outside the sandbox workspace. Upgrade to 2026.2.14.
Published Mar 2, 2026 · Updated Mar 6, 2026 · Analysis Nov 23, 2026
What an attacker can do
When sandbox skill mirroring copies a skill into the sandbox workspace, it builds the destination from the name field in SKILL.md. The code did not check that the result stays inside the skills folder under the sandbox workspace (CWE-22). A name such as one starting with dot-dot and a slash, or an absolute path, moves the write elsewhere.
The attacker must supply a skill package and control its frontmatter. The victim must run OpenClaw with the sandbox on and skill mirroring active. Files then land outside the sandbox root with the permissions of the user running OpenClaw. That user could have a shell profile, SSH config or startup file overwritten, which turns a skill install into code execution later. GitHub scores it 7.1 high, local, with user interaction.
Who is affected
The npm package openclaw before 2026.2.14, when the sandbox is enabled and skills are mirrored into its workspace. The risk is highest for teams that install skills from outside sources.
npm ls openclawopenclaw
- Ecosystem
- npm
- Affected
- < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.14 or later. The fix is commit 3eb6a31b6fcf8268456988bfa8e3637d373438c2. The advisory names no workaround. Until you upgrade, do not install skills from sources you do not trust.
How to tell if you were hit
Inspect the SKILL.md frontmatter of installed skills for a name that contains dot-dot segments, a slash or an absolute path. Look for files you did not create outside the sandbox workspace, especially recently changed shell startup files and SSH settings. Beam records agent file access, which can show writes outside the workspace.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
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.mdfrontmatter). - 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.
Credited to 1seal.
Questions
- What does an attacker need for CVE-2026-28457?
A skill package with a malicious frontmatter name, and a victim who runs OpenClaw with sandbox and skill mirroring on. The CVSS vector is local and needs user interaction.
- Which version fixes it?
OpenClaw 2026.2.14 and later. Earlier versions are affected.
- Does the sandbox contain the write?
No. The flaw is that the copy escapes the sandbox workspace and writes with the permissions of the user running OpenClaw.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
