highVulnerability

GHSA-3jx4-q2m7-r496

### Summary In certain workspace-restricted configurations, OpenClaw could follow hardlink aliases inside the workspace that reference files outside the workspace boundary. By default, `tools.fs.workspaceOnly` is off. This primarily affects deployments that intentionally enable workspace-only filesystem restrictions (and workspace-only `apply_patch` checks). ### Impact - Confidentiality: out-of-workspace files could be read through in-workspace hardlink aliases. - Integrity: out-of-workspace files could be modified through in-workspace hardlink aliases. ### Affected Packages / Versions - Package: `openclaw` (npm) - Latest published version at triage time: `2026.2.24` - Affected range: `<= 2026.2.24` - Planned patched version: `2026.2.25` ### Fix Commit(s) - `04d91d0319b82fd4de91ed05e9fc5219ff2ab64e` (main) ### Remediation OpenClaw now rejects hardlinked final-file aliases during workspace boundary validation for: - workspace-only path checks (`read` / `write` / `edit`) - workspace-only `apply_patch` read/write paths - sandbox mount-root path-safety checks Regression tests were added for `apply_patch`, workspace fs tools, and sandbox fs bridge hardlink alias escapes. OpenClaw thanks @tdjackey for reporting.

Properties

ghsa_id
GHSA-3jx4-q2m7-r496
severity
high
summary
OpenClaw: Hardlink alias checks could bypass workspace-only file boundaries in specific configurations
cve_id
GHSA-3jx4-q2m7-r496
is_ghsa_only
true
ghsa_published
2026-03-04T19:21:04Z
source_url
https://github.com/advisories/GHSA-3jx4-q2m7-r496
ghsa_updated
2026-03-04T19:21:06Z

Related Entities (4)

AFFECTS (1)

[Software]npm/OpenClaw

HAS_WEAKNESS (2)

[Weakness]Improper Link Resolution Before File Access ('Link Following')
[Weakness]Exposure of Resource to Wrong Sphere

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph