GHSA-fgvx-58p6-gjwc: OpenClaw gateway agents.files symlink escape allowed out-of-workspace file read/write
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.
This could enable arbitrary host file read/write within the gateway process permissions, and chained impact up to code execution depending on which files are overwritten.
References
Code Behaviors & Features
Detect and mitigate GHSA-fgvx-58p6-gjwc with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →