CVE-2026-32024: OpenClaw's avatar symlink traversal can expose out-of-workspace local files
OpenClaw before 2026.2.22 followed symlinks when it resolved agent avatars. A symlink in an agent workspace could make the gateway avatar surfaces return bytes of local files outside the workspace. It is a confidentiality-only flaw. Upgrade to 2026.2.22.
Published Mar 3, 2026 · Updated Mar 20, 2026 · Analysis Nov 15, 2026
What an attacker can do
In vulnerable builds, local avatar resolution followed symlinks and returned file bytes from outside the configured workspace boundary. Two places were affected: gateway avatar metadata resolution, and the Control UI avatar route handled by handleControlUiAvatarRequest in src/gateway/control-ui.ts. That route used an old serveFile helper that read the file by path.
The attack needs a way to place a symlink where the avatar is read from, such as an agent workspace that someone other than the operator can write to. An AI agent that can create files in its workspace fits that profile. The agent, or an attacker steering it, can link the avatar path to a sensitive file. Anyone who can request the avatar then receives that file's content in the response.
The disclosure covers any file the OpenClaw process can read, so tokens, keys and config files are in reach. The advisory states there is no integrity or availability impact. The CVSS vector is local with low privileges, which matches the need to plant the link first.
Who is affected
The openclaw npm package before 2026.2.22. The advisory lists versions up to 2026.2.21 and the prereleases 2026.2.21-1 and 2026.2.21-2. Check your install:
npm ls openclawExposure depends on whether untrusted parties, or an agent acting on their input, can create symlinks in a place the gateway reads avatars from.
openclaw
- Ecosystem
- npm
- Affected
- < 2026.2.22
- Fixed in
- 2026.2.22
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.2.22:
npm install -g [email protected]The fixes are commits 3d033750 and 6970c2c2. Gateway avatar metadata resolution now enforces canonical containment, O_NOFOLLOW and file-identity checks. The Control UI route rejects symlink paths, confirms the target is a regular file under a size limit, opens it with O_NOFOLLOW where supported, and checks that the device and inode match before reading. A symlinked avatar now gets a not-found response.
The sources give no workaround.
How to tell if you were hit
Look for symlinks in agent workspaces and avatar locations:
find /path/to/workspaces -type lPay attention to links that point outside the workspace, such as to home-directory dotfiles or config files. Review gateway access logs for requests to avatar routes that returned unusually large or non-image responses. If an AI agent runs under Beam, it records agent shell commands and file access, so a command that creates a symlink to a secret file would be logged.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenClaw avatar handling allowed a symlink traversal path that could expose local files outside an agent workspace through gateway avatar surfaces.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected versions:
<= 2026.2.21, plus prereleases2026.2.21-1and2026.2.21-2 - Latest published version at triage time (2026-02-22):
2026.2.21-2(affected) - Planned patched version (pre-set for release workflow):
2026.2.22
Details
In vulnerable builds, local avatar resolution could follow symlinks and return file bytes from outside the configured workspace boundary.
The issue was hardened in two paths:
- Gateway avatar metadata resolution now enforces canonical containment,
O_NOFOLLOW, and fd/file-identity checks. - Control UI avatar serving now rejects symlink paths and enforces fd/file-identity and size checks before reads.
Fix Commit(s)
3d0337504349954237d09e4d957df5cb844d5e776970c2c2db3ee069ef0fff0ade5cfbdd0134f9d2
Release Process Note
patched_versions is pre-set to >= 2026.2.22 so after npm release, the remaining action is to publish this advisory.
Impact
Confidentiality impact only: local files readable by the OpenClaw process could be disclosed via avatar response surfaces.
OpenClaw thanks @tdjackey for reporting.
Credited to tdjackey.
Questions
- Which OpenClaw versions are affected by CVE-2026-32024?
Everything before 2026.2.22, including the prereleases 2026.2.21-1 and 2026.2.21-2. The fix shipped in 2026.2.22.
- What does an attacker get?
The contents of local files that the OpenClaw process can read, returned through the avatar surfaces. The advisory says confidentiality only. There is no integrity or availability impact.
- Does the attacker need to be local?
The CVSS vector is local with low privileges. They need a way to place a symlink where avatars are resolved, for example in an agent workspace they or their agent can write to.
- Is it exploited in the wild?
No source reports exploitation, and the entry has no CISA KEV data.
References
Read for this analysis:
- https://github.com/openclaw/openclaw/security/advisories/GHSA-rx3g-mvc3-qfjf
- https://github.com/openclaw/openclaw/commit/3d0337504349954237d09e4d957df5cb844d5e77
- https://nvd.nist.gov/vuln/detail/CVE-2026-32024
- https://www.vulncheck.com/advisories/openclaw-symlink-traversal-in-avatar-handling
- https://github.com/advisories/GHSA-rx3g-mvc3-qfjf
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
