Sunday, 6 December 2026
0 agent hacks today▼ 4 vs yesterday (4)

Symlink trick breaks out of open-multi-agent's sandbox

A flaw tracked as CVE-2026-145356 lets a poisoned repository read host files such as SSH keys and cloud credentials, according to the NVD entry published on 4 December 2026.

By The Agentic Times ·

A digital prisoner tunnels through a wall via a hidden symbolic passage, stealing glowing credential keys from the locked vault beyond the sandbox barrier.
A digital prisoner tunnels through a wall via a hidden symbolic passage, stealing glowing credential keys from the locked vault beyond the sandbox barrier. · Illustration: The Agentic Times

A sandbox escape in the coding agent framework open-multi-agent lets attackers reach files outside the agent's working directory, according to a National Vulnerability Database entry published on 4 December 2026. The flaw is tracked as CVE-2026-145356 and affects versions from 1.5.0 up to, but not including, 1.27.0.

The problem sits in a function called resolvePathWithinCwd, which is meant to keep the agent's file operations inside its own workspace. According to the NVD entry, an attacker can commit the agent's .agent-workspace directory as a symbolic link pointing at the filesystem root. A symbolic link is a file that acts as a pointer to another location on disk. Once that link is in place, paths that look like they stay inside the workspace in fact resolve to anywhere on the host.

The NVD description says an attacker can then use prompt injection in repository content to drive the agent's file tools. Prompt injection means hiding instructions in material the agent reads, so the model follows them as if they came from its operator. In this case, the injected instructions make the file_read tool fetch .env configuration files, SSH keys and cloud credentials. Where the file_write and file_edit tools are enabled, the entry says those can be abused as well, which turns a read-only data exposure into the ability to change files on the host.

The attack chain matters because it needs no access to the machine running the agent. The hostile symlink and the injected instructions both travel inside a repository. Any workflow that points an open-multi-agent instance at untrusted code — reviewing a pull request, triaging an issue with an attached branch, or summarising a third-party project — is the kind of situation the description covers. The NVD entry does not say whether the flaw has been exploited in the wild, and it does not name any affected users.

The version range in the advisory indicates the issue is addressed in release 1.27.0. The NVD entry links to a source file in the 1.26.0 tree, a commit, a pull request numbered 735 and the 1.27.0 release tag on the project's GitHub repository, as well as a separate repository that appears to document the escape and an advisory published by VulnCheck. Operators running any release from 1.5.0 onwards should check their version against the fixed release.

The case is a reminder that path checks are the weak point of most agent sandboxes. A string comparison that confirms a path begins with the workspace directory tells you nothing about where that directory actually points once the filesystem is allowed to lie. Agents that clone and read attacker-controlled repositories inherit whatever those repositories put on disk, including links. Teams running coding agents against untrusted code may wish to review whether write tools are enabled by default, and what credentials are present on the host the agent runs on.

Sources

  1. nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-145356