CVE-2026-56840: PraisonAI: HTTPApproval dashboard renders tool arguments as raw HTML, allowing approval-page XSS to approve dangerous tools

Published Oct 23, 2026
·
Updated

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/{requestid}/decide endpoint, causing HTTPApproval to return approved=True. This issue has been patched in version 4.6.59.

Affected Software

1 affected component
pypi/praisonai>=4.5.2<4.6.59

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PraisonAI to a version that resolves this vulnerability.

    Fixed in 4.6.59

Event History

Oct 23, 2026
CVE Published
via MITRE·11:58 AM
Data Sourced
via MITRE·11:58 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

PraisonAI versions 4.5.2 through versions before 4.6.59 are affected when using praisonai.bots.HTTPApproval. Version 4.6.59 contains the patch.

2

What must an attacker do to exploit this issue?

The attacker needs to supply a tool argument they control so it is included in a pending approval request. A human must then open the approval URL to review that request; the injected JavaScript executes in the approval dashboard.

3

What is the practical impact of successful exploitation?

The injected script can send a request to the approval endpoint for the same request ID. This causes HTTPApproval to return approved=True, allowing a dangerous tool request to be approved without the reviewer intentionally approving it.

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