Impact
A flaw in the ag-ui Middleware FilterToolCallsMiddleware causes an incomplete cleanup of resources, which can lead to resource exhaustion and degraded service availability. The vulnerability is classified as CWE‑459, indicating an improper release of resources. Attackers may exploit the flaw by manipulating input to trigger the middleware without proper cleanup, potentially compromising the stability of the application.
Affected Systems
The affected product is ag‑ui from ag‑ui‑protocol. Versions up to and including 2026‑09‑07 contain the flaw. The patch that fixes the issue is released as version 2026‑09‑08 and incorporates commit c346119fe870b70f5c19738ee5119f3e1456e59d.
Risk and Exploitability
The CVSS score of 5.3 reflects moderate severity, while the EPSS score is not currently available. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the attack can be launched remotely by executing specially crafted input that triggers the middleware path. The exploit requires the ability to influence input to the middleware; no local privilege escalation is required. The impact is limited to denial of service rather than confidentiality or integrity breaches.
OpenCVE Enrichment