PT-2026-81345 · Praisonai · Praisonai

·

CVE-2026-55532

·

Published

2026-08-25

·

Updated

2026-09-10

CVSS v3.1

7.6

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
Name of the Vulnerable Software and Affected Versions PraisonAI versions prior to 4.6.58
Description A Cross-Site Request Forgery (CSRF) issue exists in the MCP HTTP-stream transport. The validate origin() function in transports/http stream.py uses a prefix match via startswith() to validate the request origin variable against an allowlist. This allows an attacker to bypass the check by using a domain that begins with an allowed prefix, such as http://localhost.attacker.com.
Because the server may be run without an API key by default and parses request bodies regardless of the Content-Type header, an attacker can send a CORS simple request using text/plain. This bypasses the browser preflight check and allows the unauthenticated invocation of the tools/call endpoint.
An attacker can exploit this to perform state-changing actions, most notably using the praisonai.rules.create tool to write malicious files into the global rules directory. This results in persistent prompt injection, where attacker-controlled instructions are applied to every subsequent agent run on the victim's machine, potentially leading to the exfiltration of sensitive data like SSH keys and API keys. Other affected tools include praisonai.rules.delete, praisonai.todo.add, praisonai.todo.delete, and praisonai.schedule.add.
Recommendations Update PraisonAI to version 4.6.58. As a temporary mitigation, configure the MCP server with a strong API key using the --api-key flag to enable authentication for the HTTP-stream transport.

Exploit

Fix

Origin Validation Error

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-55532
GHSA-PVPH-5J39-V8QC
PYSEC-2026-3892

Affected Products

Praisonai