Description
open-multi-agent 1.5.0 before 1.27.0 contains a sandbox escape vulnerability in resolvePathWithinCwd that allows attackers to access host files by committing .agent-workspace as a symlink to the filesystem root. Attackers can use prompt injection in repository content to make file_read retrieve .env files, SSH keys and cloud credentials, or abuse file_write and file_edit when enabled.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
open-multi-agent open-multi-agent
Default version status: unaffected
1.5.0 to < 1.27.0affected
pkg:npm/%40open-multi-agent/coreReferences
- https://github.com/Teycir/open-multi-agent-sandbox-escape ↗
- https://github.com/open-multi-agent/open-multi-agent/pull/735 ↗
- https://github.com/open-multi-agent/open-multi-agent/commit/3795efbae6243399c7f5d23fc46fb03af246798d ↗
- https://github.com/open-multi-agent/open-multi-agent/releases/tag/v1.27.0 ↗
- https://github.com/open-multi-agent/open-multi-agent/blob/v1.26.0/packages/core/src/tool/built-in/path-safety.ts#L50-L97 ↗
- https://github.com/open-multi-agent/open-multi-agent ↗
- https://www.vulncheck.com/advisories/open-multi-agent-1.5.0-before-1.27.0-sandbox-escape-via-symlinked-workspace-root ↗