<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 03 Dec 2026 14:04:43 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-141554</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-141554</link>
      <description>&lt;p&gt;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 ag2/tools/sandbox/adapter/shell.py calls check_ignore() in ag2/tools/sandbox/filter.py, which checks paths written in the command but not files discovered by the program. An agent processing attacker-controlled content may issue such a command and expose the files in the tool result; disclosure to the attacker additionally requires an output channel in the deployment. This issue is fixed in version 1.3.4.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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 ag2/tools/sandbox/adapter/shell.py calls check_ignore() in ag2/tools/sandbox/filter.py, which checks paths written in the command but not files discovered by the program. An agent processing attacker-controlled content may issue such a command and expose the files in the tool result; disclosure to the attacker additionally requires an output channel in the deployment. This issue is fixed in version 1.3.4.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-141554</guid>
    </item>
    <item>
      <title>GHSA-xhqj-2fcc-8vf7 — AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode</title>
      <link>https://db.gcve.eu/vuln/ghsa-xhqj-2fcc-8vf7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: ag2, PyPI: autogen&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`SandboxShellTool(ignore=[...])` refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. `readonly=True` allows `grep` and `diff`, and with `-r` they open every file under a directory, so `grep -r KEY .` prints the contents of `.env`, `*.key` and `secrets/**` while `cat .env` is refused.&lt;/p&gt;
&lt;p&gt;The docs cover part of this. `website/docs/user-guide/tools/local_shell.mdx:112` says: &amp;#34;`ignore` checks only the literal path words of the command. [...] A program that opens paths on its own (`sh -c`, `find`) is not covered; use an isolated backend for that.&amp;#34; Both examples in that note are programs `readonly=True` does not allow. The built-in read-only list contains `grep`, `egrep`, `fgrep` and `diff` (`ag2/tools/sandbox/filter.py:25-43`), the same page recommends `grep -r --include=&amp;#39;*.py&amp;#39;` in restricted mode (line 139), and `common_toolkits.mdx:346-347` introduces `ignore=[&amp;#34;**/.env&amp;#34;, &amp;#34;*.key&amp;#34;, &amp;#34;secrets/**&amp;#34;]` as &amp;#34;Hide sensitive files from the agent&amp;#34;. An operator who combines `readonly=True` with `ignore` can reasonably expect those files to stay hidden, and they don&amp;#39;t. If you read the note at line 112 as already covering recursive `grep`, I&amp;#39;m fine with closing this as a documentation issue.&lt;/p&gt;
&lt;p&gt;### Affected versions&lt;/p&gt;
&lt;p&gt;PyPI `ag2` 1.3.2 (latest, tested 2026-11-19) and 1.3.1 (tested 2026-11-15). `main` at `7a65080` has the same `filter.py`. Older releases were not checked.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The operator runs an ag…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: ag2, PyPI: autogen&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`SandboxShellTool(ignore=[...])` refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. `readonly=True` allows `grep` and `diff`, and with `-r` they open every file under a directory, so `grep -r KEY .` prints the contents of `.env`, `*.key` and `secrets/**` while `cat .env` is refused.&lt;/p&gt;
&lt;p&gt;The docs cover part of this. `website/docs/user-guide/tools/local_shell.mdx:112` says: &amp;#34;`ignore` checks only the literal path words of the command. [...] A program that opens paths on its own (`sh -c`, `find`) is not covered; use an isolated backend for that.&amp;#34; Both examples in that note are programs `readonly=True` does not allow. The built-in read-only list contains `grep`, `egrep`, `fgrep` and `diff` (`ag2/tools/sandbox/filter.py:25-43`), the same page recommends `grep -r --include=&amp;#39;*.py&amp;#39;` in restricted mode (line 139), and `common_toolkits.mdx:346-347` introduces `ignore=[&amp;#34;**/.env&amp;#34;, &amp;#34;*.key&amp;#34;, &amp;#34;secrets/**&amp;#34;]` as &amp;#34;Hide sensitive files from the agent&amp;#34;. An operator who combines `readonly=True` with `ignore` can reasonably expect those files to stay hidden, and they don&amp;#39;t. If you read the note at line 112 as already covering recursive `grep`, I&amp;#39;m fine with closing this as a documentation issue.&lt;/p&gt;
&lt;p&gt;### Affected versions&lt;/p&gt;
&lt;p&gt;PyPI `ag2` 1.3.2 (latest, tested 2026-11-19) and 1.3.1 (tested 2026-11-15). `main` at `7a65080` has the same `filter.py`. Older releases were not checked.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The operator runs an ag…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-xhqj-2fcc-8vf7</guid>
    </item>
  </channel>
</rss>
