Read the docs

Path traversal in ag2 UserProxyAgent via filename argument

Priority MEDIUM 57CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

The ag2ai ag2 package, up to 0.13.4, is affected in its UserProxyAgent component. The os.path.join call uses the filename argument without restricting the resulting path, which allows path traversal (CWE-22). A remote attacker with low privileges can exploit this flaw. A public exploit has been disclosed and is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

A vulnerability was determined in ag2ai ag2 up to 0.13.4. Affected by this issue is the function os.path.join of the component UserProxyAgent. This manipulation of the argument filename causes path traversal. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00346 28th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ag2aiag20.13.0; 0.13.1; 0.13.2; 0.13.3; 0.13.4—No fix listedCNA
  • ag2 Vendorag2ai Affected 0.13.0; 0.13.1; 0.13.2; 0.13.3; 0.13.4 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ag2ai:ag2:*:*:*:*:*:*:*:*——ag2ai
  • cpe:2.3:a:ag2ai:ag2:*:*:*:*:*:*:*:* Versions — — ·ag2ai

Remediation

The sources list no fixed version for ag2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-11 Threatist record created from CVE-2026-108543
  2. 2026-10-11 Alias added: GHSA-624w-5pqv-45mm
  3. 2026-10-13 CISA SSVC decision points changed
  4. 2026-10-13 Priority changed: LOW → MEDIUM
  5. 2026-11-06 Affected versions changed · Red Hat
  6. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2026-85711 Newline injection in AG2 SandboxShellTool allows command execution CVSS 3.1HIGH 8.8

Sources