Skip to content

Unauthenticated SSE Event Stream Exposes All Agent Activity in A2U Server

High
MervinPraison published GHSA-f292-66h9-fpmf Apr 7, 2026

Package

pip praisonai (pip)

Affected versions

<= 4.5.114

Patched versions

>= 4.5.115

Description

The A2U (Agent-to-User) event stream server in PraisonAI exposes all agent activity without authentication. This is a separate component from the gateway server fixed in CVE-2026-34952.

The create_a2u_routes() function registers the following endpoints with NO authentication checks:

  • GET /a2u/info — exposes server info and stream names
  • POST /a2u/subscribe — creates event stream subscription
  • GET /a2u/events/{stream_name} — streams ALL agent events
  • GET /a2u/events/sub/{id} — streams events for subscription
  • GET /a2u/health — health check

An unauthenticated attacker can:

  1. POST /a2u/subscribe → receive subscription_id
  2. GET /a2u/events/sub/{subscription_id} → receive live SSE stream
    of all agent events including responses, tool calls, and thinking

This exposes sensitive agent activity including responses, internal reasoning, and tool call arguments to any network attacker.

image image

[1] POST /a2u/subscribe (no auth token)
Status: 200
Response: {"subscription_id":"sub-a1ad8a6edd8b","stream_name":"events",
"stream_url":"http://testserver/a2u/events/sub-a1ad8a6edd8b"}
Got subscription_id: sub-a1ad8a6edd8b

[2] GET /a2u/info (no auth token)
Status: 200
Response: {"name":"A2U Event Stream","version":"1.0.0",
"streams":["events"],"event_types":["agent.started","agent.thinking",
"agent.tool_call","agent.response","agent.completed","agent.error"]}

[3] GET /a2u/health (no auth token)
Status: 200
Response: {"status":"healthy","active_subscriptions":1,"active_streams":1}

Impact: Attacker can subscribe and receive ALL agent events including responses, tool calls, and internal reasoning in real-time

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVE ID

CVE-2026-39889

Weaknesses

No CWEs

Credits