# ag2 (PyPI) CVEs

14 known CVEs (1 critical, 8 high, 4 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 1.3.2 (Nov 15, 2026): affected by 4 advisories
- Newest unaffected release: Every release is affected by at least one advisory
- Downloads on affected versions: 100% of ag2 downloads last week (56.3K of 56.3K) were on a version affected by at least one advisory
- Weekly downloads: 58.7K
- Dependents: 31
- Releases: 101 since 0.3.2 (Nov 13, 2024)
- Registry: https://pypi.org/project/ag2/
- Releases read: Nov 16, 2026
- Downloads read: Nov 10, 2026

## Version timeline

Affected versions per advisory, in version order:

- GHSA-224H-JMFQ-QC67: 0.12.0 to 1.3.2 (through the newest release)
- GHSA-3R6W-7PCG-C4X2: 1.0.0b0 to 1.3.2 (through the newest release)
- GHSA-XHQJ-2FCC-8VF7: 0.13.3 to 1.3.2 (through the newest release)
- GHSA-WHF5-5QCJ-V9M8: 0.12.2 to 1.3.2 (through the newest release)
- CVE-2026-113663: 0.13.2 to 1.1.0 (1.1.1 is outside it)
- GHSA-3CCW-G7PH-HRCR: 0.13.3 to 1.1.1 (1.1.2 is outside it)
- GHSA-42MF-VPMR-GW5R: 1.0.0 to 1.1.1 (1.1.2 is outside it)
- GHSA-RPPM-W5CW-6QCG: 0.11.5 to 1.1.0 (1.1.1 is outside it)
- GHSA-FXHH-6RM2-V2PP: 0.12.0 to 1.0.6 (1.1.0 is outside it)
- GHSA-HF3X-42QP-4RQ6: 0.12.0 to 1.0.6 (1.1.0 is outside it)
- GHSA-QRJX-72XX-XHMH: 0.12.2 to 1.0.6 (1.1.0 is outside it)
- GHSA-2H3Q-9P6M-4HM4: 0.12.0 to 1.0.6 (1.1.0 is outside it)
- GHSA-M5HR-5P5G-RCQ7: 0.3.2b2 to 0.12.3 (0.13.0 is outside it)
- GHSA-35W5-FV47-8956: 0.9.0 to 0.13.1 (0.13.2 is outside it)

## Advisories (14)

### [GHSA-224H-JMFQ-QC67](https://cve.now/GHSA-224H-JMFQ-QC67): GitHub credentials are included in skills.sh search requests

- Severity: Medium 5.9
- Published: Nov 22, 2026
- Affected: from 0.12.0, through 1.3.3.
- No fix released. The latest release, 1.3.2, is still affected.
- 46% of ag2 downloads last week were affected versions (26K).

### [GHSA-3R6W-7PCG-C4X2](https://cve.now/GHSA-3R6W-7PCG-C4X2): ACP client permission\_policy="ask": a human's one-time "yes" (even an explicit allow\_once) is answered with the agent's allow\_always option, so later commands run with no human approval

- Severity: High 7.5
- Published: Nov 22, 2026
- Affected: from 1.0.0b0, through 1.3.3.
- No fix released. The latest release, 1.3.2, is still affected.
- 28% of ag2 downloads last week were affected versions (15.7K).

### [GHSA-XHQJ-2FCC-8VF7](https://cve.now/GHSA-XHQJ-2FCC-8VF7): SandboxShellTool: files hidden with \`ignore\` are still readable through recursive \`grep\` / \`diff\` in readonly mode

- Severity: Low 3.1
- Published: Nov 22, 2026
- Affected: from 0.13.3, through 1.3.3.
- No fix released. The latest release, 1.3.2, is still affected.
- 36% of ag2 downloads last week were affected versions (20.4K).

### [GHSA-WHF5-5QCJ-V9M8](https://cve.now/GHSA-WHF5-5QCJ-V9M8): AG2 RedisStream JSON deserialization executes constructors from untrusted tool data

- Severity: High 8.1
- Published: Nov 22, 2026
- Affected: from 0.12.2, through 1.3.3.
- No fix released. The latest release, 1.3.2, is still affected.
- 44% of ag2 downloads last week were affected versions (24.6K).

### [CVE-2026-113663](https://cve.now/CVE-2026-113663): AG2: Newline injection in SandboxShellTool bypasses allowed=\[...\] and readonly=True, enabling arbitrary command execution

- Severity: High 8.8
- Published: Nov 5, 2026
- Affected: from 0.13.2, fixed in 1.1.1.
- Fixed in 1.1.1 (released Sep 29, 2026, 37 days before disclosure).
- The latest release, 1.3.2, is not affected.
- 11% of ag2 downloads last week were affected versions (6.4K).

### [GHSA-3CCW-G7PH-HRCR](https://cve.now/GHSA-3CCW-G7PH-HRCR): \[Security\] AG2 Network Hub does not bind post-admission control operations to the authenticated connection identity

- Severity: High 8.8
- Published: Oct 3, 2026
- Affected: from 0.13.3, fixed in 1.1.2.
- Fixed in 1.1.2 (released Oct 3, 2026, the day of disclosure).
- The latest release, 1.3.2, is not affected.
- 12% of ag2 downloads last week were affected versions (6.6K).

### [GHSA-42MF-VPMR-GW5R](https://cve.now/GHSA-42MF-VPMR-GW5R): Command Filter Bypass in LocalShellEnvironment via shell=True Allows Arbitrary OS Command Execution

- Severity: Critical
- Published: Oct 3, 2026
- Affected: from 1.0.0, fixed in 1.1.2.
- Fixed in 1.1.2 (released Oct 3, 2026, the day of disclosure).
- The latest release, 1.3.2, is not affected.
- 3.3% of ag2 downloads last week were affected versions (1.8K).

### [GHSA-RPPM-W5CW-6QCG](https://cve.now/GHSA-RPPM-W5CW-6QCG): AG2 keys both human-approval state and tool execution dispatch by tool NAME only: two different tool implementations sharing one name (e.g. a local tool and an MCP-proxied tool) form a single identity — one "always" answer silently authorizes the other implementation, and a single tool call is broadcast to every same-name implementation so side effects execute twice (the unguarded twin even runs when the human answers "n")

- Severity: Medium
- Published: Sep 29, 2026
- Affected: from 0.11.5, fixed in 1.1.1.
- Fixed in 1.1.1 (released Sep 29, 2026, the day of disclosure).
- The latest release, 1.3.2, is not affected.
- 21% of ag2 downloads last week were affected versions (11.9K).

### [GHSA-FXHH-6RM2-V2PP](https://cve.now/GHSA-FXHH-6RM2-V2PP): Path traversal in FilesystemToolkit.find\_files via ".." in the glob pattern lists files outside base\_path

- Severity: Medium 4.3
- Published: Sep 25, 2026
- Affected: from 0.12.0, fixed in 1.1.0.
- Fixed in 1.1.0 (released Sep 24, 2026, 1 day before disclosure).
- The latest release, 1.3.2, is not affected.
- 21% of ag2 downloads last week were affected versions (11.6K).

### [GHSA-HF3X-42QP-4RQ6](https://cve.now/GHSA-HF3X-42QP-4RQ6): Path Traversal in Skill Archive Installation Enables Arbitrary File Write/Delete

- Severity: High 8.1
- Published: Sep 25, 2026
- Affected: from 0.12.0, fixed in 1.1.0.
- Fixed in 1.1.0 (released Sep 24, 2026, 1 day before disclosure).
- The latest release, 1.3.2, is not affected.
- 21% of ag2 downloads last week were affected versions (11.6K).

### [GHSA-QRJX-72XX-XHMH](https://cve.now/GHSA-QRJX-72XX-XHMH): Path Traversal in DiskKnowledgeStore via Incorrect startswith Path Containment Check

- Severity: High
- Published: Sep 25, 2026
- Affected: from 0.12.2, fixed in 1.1.0.
- Fixed in 1.1.0 (released Sep 24, 2026, 1 day before disclosure).
- The latest release, 1.3.2, is not affected.
- 18% of ag2 downloads last week were affected versions (10.3K).

### [GHSA-2H3Q-9P6M-4HM4](https://cve.now/GHSA-2H3Q-9P6M-4HM4): ag2 1.0.6 (latest): subtask seeding still uses a shallow copy of the parent context variables (run\_task.py variables.copy()), so the 'always' tool-approval bypass dict is shared by reference between parent and subtask contexts in both directions

- Severity: Medium
- Published: Sep 25, 2026
- Affected: from 0.12.0, fixed in 1.1.0.
- Fixed in 1.1.0 (released Sep 24, 2026, 1 day before disclosure).
- The latest release, 1.3.2, is not affected.
- 21% of ag2 downloads last week were affected versions (11.6K).

### [GHSA-M5HR-5P5G-RCQ7](https://cve.now/GHSA-M5HR-5P5G-RCQ7): SSRF via DocAgent URL Ingestion

- Severity: High 8.6
- Published: Sep 23, 2026
- Affected: fixed in 0.13.0.
- Fixed in 0.13.0 (released May 19, 2026, 127 days before disclosure).
- The latest release, 1.3.2, is not affected.
- 58% of ag2 downloads last week were affected versions (32.5K).

### [GHSA-35W5-FV47-8956](https://cve.now/GHSA-35W5-FV47-8956): Unsafe eval on attacker-controlled ContextVariables via ContextExpression enables RCE

- Severity: High 8.8
- Published: Sep 23, 2026
- Affected: from 0.9.0, fixed in 0.13.2.
- Fixed in 0.13.2 (released May 29, 2026, 117 days before disclosure).
- The latest release, 1.3.2, is not affected.
- 57% of ag2 downloads last week were affected versions (32.1K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/ag2
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
