CVE-2026-56840 Details
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.
A cross-site scripting vulnerability has been identified in PraisonAI versions 4.5.2 prior to 4.6.59. The issue arises in the HTTPApproval bot, which renders pending tool approval arguments directly into the approval dashboard HTML without proper sanitization. This flaw allows an attacker to inject JavaScript into the page via a controlled tool argument. When a human approver opens the approval URL to review the tool request, the injected script executes in the dashboard's origin. It can then POST to the same request's /approve/{request_id}/decide endpoint, causing HTTPApproval to falsely indicate that the tool has been approved. This vulnerability bypasses the intended human approval process for risky tools, such as 'execute_command' or 'delete_file', potentially leading to unauthorized actions being performed by the PraisonAI agent.
Users are advised to update to PraisonAI version 4.6.59 or later. Additionally, untrusted values should be escaped before being inserted into the approval HTML to prevent injection attacks. Consider adding a restrictive Content Security Policy and avoiding inline JavaScript.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 23, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-63v4-w882-g4x2 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-63v4-w882-g4x2 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MervinPraison PraisonAI | >= 4.5.2, <= 4.6.57 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2026 | New CVE Received | [email protected] |
Volerion