Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-39889

PraisonAI Has Unauthenticated SSE Event Stream that Exposes All Agent Activity in A2U Server
Back to all
CVE

CVE-2026-39889

PraisonAI Has Unauthenticated SSE Event Stream that Exposes All Agent Activity in A2U Server

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 createa2uroutes() 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.

<img width="1512" height="947" alt="image" src="https://github.com/user-attachments/assets/3438f3ea-75ec-4978-9dd9-d9a6da42c248" />

<img width="1512" height="571" alt="image" src="https://github.com/user-attachments/assets/ee3313f6-f522-48f7-9c06-e5e265c6aeb4" />

[1] POST /a2u/subscribe (no auth token)

    Status: 200

    Response: {"subscriptionid":"sub-a1ad8a6edd8b","streamname":"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","activesubscriptions":1,"activestreams":1}

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
C
H
U
-

Related Resources

No items found.

References

https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-f292-66h9-fpmf, https://nvd.nist.gov/vuln/detail/CVE-2026-39889, https://github.com/MervinPraison/PraisonAI, https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.115

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00019%
EPSS Percentile
0.05559%
Introduced Version
0
Fix Available
4.5.115

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading