CVE-2026-120235: ag-ui SSE parser resource exhaustion

CVE-2026-120235 · Severity: medium · CVSS 4.3 · Published 2026-11-01

ag-ui is a framework that brings AI agents into frontend applications. A flaw in its Server-Sent Events (SSE) parser allows an attacker to send specially crafted data over the network that causes excessive resource consumption, potentially leading to application slowdown or unavailability. An attacker can exploit this remotely without authentication.

Technologies: Ag-Ui-Protocol Ag-Ui. Vendors: Ag-Ui-Protocol.

Quick answers

Is CVE-2026-120235 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-120235 being exploited in the wild.
How severe is CVE-2026-120235?
Medium severity, with a CVSS score of 4.3, published 1 November 2026.
Which products and versions are affected?
Ag-Ui-Protocol Ag-Ui up to 0.0.58.
Is there a fix for CVE-2026-120235?
Yes: fixed in commit 9e7b2b00bce215bbf731f1e6094f63812527c432 onward. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-120235 attacked?
It is attacked over the network.
Am I affected by CVE-2026-120235?
Check whether you run Ag-Ui-Protocol Ag-Ui at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: commit 9e7b2b00bce215bbf731f1e6094f63812527c432 onward

Technical details

The vulnerability exists in the parseSSEStream function of the SSE parser component (sdks/typescript/packages/client/src/transform/sse.ts). It allows unbounded buffer allocation when processing SSE frames, leading to denial-of-service through resource exhaustion. The attack is network-based and requires no authentication or user interaction; the fix caps the buffer size to prevent uncontrolled memory consumption.

Affected products

  • ag-ui-protocol ag-ui up to 0.0.58

Timeline

  • 2026-11-01: disclosed
  • 2026-09-09: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.