34 matches found
CVE-2026-141554
A flaw was found in ag2, where the sandbox shell tool fails to properly restrict access to ignored files during recursive directory operations. A remote attacker can exploit this issue by supplying crafted content to an automated agent, causing it to execute shell commands that scan directory...
EUVD-2026-141826
AG2 SandboxShellTool: files hidden with ignore are still readable through recursive grep / diff in readonly mode...
CVE-2026-141554
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, SandboxShellTool configured with readonly=True and ignore can return ignored files when an allowed recursive grep, egrep, fgrep, or diff opens files inside a directory, including the implicit current directory. ShellAdapter.filter in...
CVE-2026-141554
The open-source AgentOS AG2 is vulnerable in versions 0.13.3 through 1.3.4 due to a flaw in the SandboxShellTool . When configured with readonly=True and ignore, the tool may return files that should have been ignored if an allowed recursive command (such as grep, egrep, fgrep, or diff) is used. ...
CVE-2026-141554 AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, SandboxShellTool configured with readonly=True and ignore can return ignored files when an allowed recursive grep, egrep, fgrep, or diff opens files inside a directory, including the implicit current directory. ShellAdapter.filter in...
CVE-2026-141554: ag2ai: AG2 is an open-source AgentOS
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, SandboxShellTool configured with readonly=True and ignore can return ignored files when an allowed recursive grep, egrep, fgrep, or diff opens files inside a directory, including the implicit current directory. ShellAdapter.filter in...
PT-2026-166276
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, SandboxShellTool configured with readonly=True and ignore can return ignored files when an allowed recursive grep, egrep, fgrep, or diff opens files inside a directory, including the implicit current directory. ShellAdapter. filter in...
GHSA-2H4W-29CV-2CMV AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution
Summary SandboxShellTool's restricted modes — allowed=... explicit command allowlist and readonly=True implicit READONLYCOMMANDS allowlist — can both be bypassed by embedding a newline character inside the command string. The filter only inspects a single-line set of shell metacharacters, but...
autogen (>=0.13.2, <=0.14.0), composio-autogen (>=0.18.0, <=0.32.0) +1 more potentially affected by CVE-2026-113663 via ag2 (>=0.13.2, <=0.14.0)
ag2 PYPI version =0.13.2, =0.13.2, =0.18.0, =0.2.1, =1.0.0 Source cves: CVE-2026-113663 Source advisory: OSV:GHSA-2H4W-29CV-2CMV...
EUVD-2026-117877
AG2: Newline injection in SandboxShellTool bypasses allowed=... and readonly=True, enabling arbitrary command execution...
AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution
Summary SandboxShellTool's restricted modes — allowed=... explicit command allowlist and readonly=True implicit READONLYCOMMANDS allowlist — can both be bypassed by embedding a newline character inside the command string. The filter only inspects a single-line set of shell metacharacters, but...
autogen (>=0.13.2, <=0.14.0), composio-autogen (>=0.18.0, <=0.32.0) +1 more potentially affected by CVE-2026-113663 via ag2 (>=0.13.2, <=0.14.0)
ag2 PYPI version =0.13.2, =0.13.2, =0.18.0, =0.2.1, =1.0.0 Source cves: CVE-2026-113663 Source advisory: GHSA-2H4W-29CV-2CMV...
CVE-2026-108543
A flaw was found in ag2. The UserProxyAgent component fails to properly validate the filename parameter, resulting in a path traversal vulnerability. A remote attacker could exploit this flaw by providing a crafted filename, potentially allowing unauthorized access to files outside the intended...
CVE-2026-113663
A flaw was found in AG2. The sandbox shell filtering mechanism fails to properly sanitize newline and carriage-return line break characters in command inputs. An attacker capable of influencing agent commands can exploit this flaw to inject and execute arbitrary commands on the host system with t...
autogen (>=0.13.2, <=0.14.0), composio-autogen (>=0.18.0, <=0.32.0) +1 more potentially affected by CVE-2026-113663 via ag2 (>=0.13.2, <=0.14.0)
ag2 PYPI version =0.13.2, =0.13.2, =0.18.0, =0.2.1, =1.0.0 Source cves: CVE-2026-113663 Source advisory: SNYK:PYTHON-AG2-22400856...
Command Injection
Overview ag2 is an A programming framework for agentic AI Affected versions of this package are vulnerable to Command Injection via ShellAdapter.filter in ag2/tools/sandbox/adapter/shell.py and containsshelloperator in ag2/tools/sandbox/filter.py, which omit newline \n and carriage-return \r...
CVE-2026-113663
AG2 is an open-source AgentOS. From 0.13.2 until ag2 1.1.1, and from autogen 0.13.2 to 0.14.1, SandboxShellTool configurations using allowed=... or readonly=True rely on ShellAdapter.filter and containsshelloperator in ag2/tools/sandbox/filter.py and ag2/tools/sandbox/adapter/shell.py to validate...
CVE-2026-113663
The AG2 open-source AgentOS contains a vulnerability in SandboxShellTool configurations (versions 0.13.2 until 1.1.1; autogen 0.13.2 to 0.14.1) when using allowed=[...] or readonly=True. The ShellAdapter._filter and contains_shell_operator functions in ag2/tools/sandbox/filter.py and ag2/tools/sa...
CVE-2026-113663
AG2 is an open-source AgentOS. From 0.13.2 until ag2 1.1.1, and from autogen 0.13.2 to 0.14.1, SandboxShellTool configurations using allowed=... or readonly=True rely on ShellAdapter.filter and containsshelloperator in ag2/tools/sandbox/filter.py and ag2/tools/sandbox/adapter/shell.py to validate...
CVE-2026-113663 AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution
AG2 is an open-source AgentOS. From 0.13.2 until ag2 1.1.1, and from autogen 0.13.2 to 0.14.1, SandboxShellTool configurations using allowed=... or readonly=True rely on ShellAdapter.filter and containsshelloperator in ag2/tools/sandbox/filter.py and ag2/tools/sandbox/adapter/shell.py to validate...