GHSA-jxcw-qp4h-6jfq: PraisonAI A2U incomplete authentication fix leaves current serve command unauthenticated by default
Summary
The published A2U advisory GHSA-f292-66h9-fpmf says unauthenticated A2U event streaming was fixed in praisonai 4.5.115. Current head still exposes the same A2U subscription and event routes without authentication when the operator starts the documented CLI entrypoint:
praisonai serve a2u --host 0.0.0.0 --port 8002
The current CLI wrapper does not expose --api-key, does not install the common API-key middleware, and does not generate a token for A2U. It calls create_a2u_routes(app) directly. That helper only enforces auth if A2U_AUTH_TOKEN is already present; if the variable is missing, _authenticate_request() returns None and treats auth as disabled.
This is an incomplete-fix report for the published A2U issue, not a separate trust-model-only concern.
Technical Details
The Typer command for A2U accepts only --host and --port:
src/praisonai/praisonai/cli/commands/serve.py:570-585
It forwards only those values to the shared serve handler:
args = ["a2u", "--host", host, "--port", str(port)]
The serve handler for A2U likewise accepts only host and port, then creates the app:
src/praisonai/praisonai/cli/features/serve.py:802-817
_create_a2u_app() registers A2U routes directly:
src/praisonai/praisonai/cli/features/serve.py:827-853
No call to _install_api_key_middleware(app, ...) is made for the dedicated A2U server, unlike the unified server path.
Inside create_a2u_routes(), auth is opt-in:
src/praisonai/praisonai/endpoints/a2u_server.py:245-253
auth_token = os.environ.get("A2U_AUTH_TOKEN")
if not auth_token:
No token configured - auth disabled (development mode)
return None
The route helper then registers the same sensitive endpoints from the public advisory:
src/praisonai/praisonai/endpoints/a2u_server.py:391-409
Why This Is Not Intended Behavior
The public advisory for GHSA-f292-66h9-fpmf describes unauthenticated /a2u/info, /a2u/subscribe, /a2u/events/{stream_name}, /a2u/events/sub/{id}, and /a2u/health as the vulnerability and lists 4.5
Details
Original advisory: https://github.com/advisories/GHSA-jxcw-qp4h-6jfq
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-57146 | coverage & exploitation status | NVD · CVE.org |
More from GitHub Security Advisories
- mediumGHSA-xm43-3m56-w3wf: Ghost: Paid gift memberships obtainable at minimal cost via the donations feature2026-08-04
- mediumGHSA-chgm-3698-jm42: Ghost: Member existence leak via magic link sign-in response2026-08-04
- highGHSA-xpp7-93x6-v29m: XSS in Ghost's ActivityPub client2026-08-04
- mediumGHSA-7mpp-r37j-x5wh: Ghost: Session Fixation in Ghost Admin2026-08-04
- mediumGHSA-cjc9-q5gf-327p: Ghost: Theme Upload Path Traversal2026-08-04