CVE-2026-56840 PraisonAI: HTTPApproval dashboard renders tool arguments as raw HTML, allowing approval-page XSS to approve dangerous tools
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-56840?
CVE-2026-56840 is a high-severity vulnerability in MervinPraison PraisonAI, published on 23 Oct 2026.
Official description
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.HTTPApproval renders pending tool approval arguments directly into the approval dashboard HTML. An attacker-controlled tool argument can inject JavaScript into that page. When a human opens the approval URL to inspect the risky tool request, the script runs in the dashboard origin and can POST to the same request's /approve/{request_id}/decide endpoint, causing HTTPApproval to return approved=True. This issue has been patched in version 4.6.59.
Weakness: CWE-79
Which versions are affected by CVE-2026-56840?
3 open source packages ship an affected version, including praisonai.
| Package | Affected | Fixed in |
|---|---|---|
praisonai PyPI | From 4.5.2 | 4.6.59 |
praisonai PyPI | From 4.5.2 | 4.6.59 |
praisonai PyPI | From 4.5.2 | 4.6.59 |
How do I fix CVE-2026-56840?
Upgrade praisonai to 4.6.59 or later.
Is CVE-2026-56840 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56840 exists.
Sources
Also known as GHSA-63v4-w882-g4x2, PYSEC-2026-3503.