{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.13.3"
                  },
                  {
                    "fixed": "1.3.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "92e842709be3010853e9964905cd23487385e570"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "c1d943df06f0506269f9a6c7312afaf47c3c4871"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.3.4",
                "range": [
                  {
                    "fixed": "db7194e8e26705381d9d23c402ba2bc5cadc67fa"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "7cd0b100d080ba67efe221d4b75e40af6144de05"
            },
            {
              "fixed": "db7194e8e26705381d9d23c402ba2bc5cadc67fa"
            },
            {
              "fixed": "92e842709be3010853e9964905cd23487385e570"
            },
            {
              "fixed": "c1d943df06f0506269f9a6c7312afaf47c3c4871"
            }
          ],
          "repo": "https://github.com/ag2ai/ag2",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xhqj-2fcc-8vf7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141554.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.13.3"
              },
              {
                "last_affected": "0.14.1"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-141554",
  "modified": "2026-12-02T21:45:35.842058664Z",
  "published": "2026-12-02T19:58:39.477Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141554.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ag2ai/ag2/commit/92e842709be3010853e9964905cd23487385e570"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ag2ai/ag2/commit/c1d943df06f0506269f9a6c7312afaf47c3c4871"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ag2ai/ag2/releases/tag/v1.3.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141554"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode"
}