CVE-2026-39889: PraisonAI has Unauthenticated SSE Event Stream Exposes All Agent Activity in A2U Server

Published Apr 8, 2026
·
Updated

PraisonAI is a multi-agent teams system. Prior to 4.5.115, the A2U (Agent-to-User) event stream server in PraisonAI exposes all agent activity without authentication. The createa2uroutes() function registers the following endpoints with NO authentication checks: /a2u/info, /a2u/subscribe, /a2u/events/{streamname}, /a2u/events/sub/{id}, and /a2u/health. This vulnerability is fixed in 4.5.115.

Other sources

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/{streamname} — 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 subscriptionid 2. GET /a2u/events/sub/{subscriptionid} → 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", "streamurl":"http://testserver/a2u/events/sub-a1ad8a6edd8b"} Got subscriptionid: sub-a1ad8a6edd8b

[2] GET /a2u/info (no auth token) Status: 200 Response: {"name":"A2U Event Stream","version":"1.0.0", "streams":["events"],"eventtypes":["agent.started","agent.thinking", "agent.toolcall","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

GitHub

Affected Software

2 affected componentsFixes available
pip/praisonai<=4.5.114
4.5.115
Praison PraisonAI<=4.5.114

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/praisonai to a version that resolves this vulnerability.

    Fixed in 4.5.115
  2. Upgrade

    Upgrade PraisonAI A2U event stream server to a version that resolves this vulnerability.

    Fixed in 4.5.115
  3. Compensating control

    Restrict network access to PraisonAI’s A2U endpoints (/a2u/info, /a2u/subscribe, /a2u/health, /a2u/events/{stream_name}, /a2u/events/sub/{id}) so only trusted clients can reach them (e.g., via firewall/ACL).

Event History

Apr 8, 2026
Advisory Published
via GitHub·07:21 PM
Data Sourced
via GitHub·07:21 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·08:44 PM
Data Sourced
via MITRE·08:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203