Description
open-multi-agent (@open-multi-agent/core) 1.5.0 through 1.21.2 contains a link following vulnerability in the file_write tool sandbox that allows attackers to create files outside the workspace root by using dangling symlinks. Attackers can plant a dangling symlink in the workspace and steer the agent via prompt injection to write attacker-influenced content anywhere the agent process can write.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| open-multi-agent | open-multi-agent | 1.5.0 – ≤ 1.21.2 | — |
References
- https://hackmd.io/@haind/open-multi-agent-file-write-dangling-symlink-escape third-party-advisory
- https://github.com/open-multi-agent/open-multi-agent/blob/6ec5498643c7e431aa66751f17f47a529e7f927c/packages/core/src/tool/built-in/path-safety.ts#L104-L113 technical-description
- https://github.com/open-multi-agent/open-multi-agent/blob/6ec5498643c7e431aa66751f17f47a529e7f927c/packages/core/src/tool/built-in/file-write.ts#L67 technical-description
- https://github.com/open-multi-agent/open-multi-agent product
- VulnCheck Advisory: open-multi-agent 1.5.0 through 1.21.2 Sandbox Escape via file_write Dangling Symlink third-party-advisory