Skip to main content

Improper Link Resolution Before File Access ('Link Following')

CVE-2026-32013

Severity High
Score 9.3/10

Summary

The gateway `agents.files.get` and `agents.files.set` methods allowed symlink traversal for allowlisted workspace files. A symlinked allowlisted file (for example `AGENTS.md`) could resolve outside the agent workspace and be read/written by the gateway process. All versions of openclaw prior to 2026.2.25-beta.1 are affected.

  • LOW
  • NETWORK
  • NONE
  • NONE

CWE-59 - Improper Link Resolution Before File Access

'Improper link resolution before file access' occurs when software accesses a file resource but fails to verify that the file isn't a link or shortcut to another file. An attacker can potentially gain access to arbitrary files and from there the impact can vary, depending on the application, from sensitive data exposure to remote code execution.

Advisory Timeline

  • Published