Description
PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, MCP HTTP Stream _validate_origin uses request_origin.startswith(allowed), allowing the attacker-controlled localhost.attacker.com HTTP origin to satisfy the localhost allowlist. A webpage can send Content-Type: text/plain requests without preflight and invoke tools/call without an API key, including file writes that persist agent instructions. This issue is fixed in version 4.6.58.
Published: 2026-08-25
Score: 7.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an Origin‑validation bypass in the MCP HTTP Stream where the server checks the origin header with a startswith match. An attacker can supply a controlled origin such as localhost.attacker.com that satisfies the localhost allowlist, allowing the request to be accepted without an API key. The allowed origin header trick lets a malicious script on a website send Content‑Type: text/plain requests without a preflight, landing on the tools/call endpoint. Because this endpoint writes files that persist agent instructions, the attacker can modify or inject instructions that the agent will later execute. The weakness fulfills CWE‑346 for improper restriction and CWE‑352 for cross‑site request forgery, and the impact is the ability to alter the agent’s persisted state without authentication.

Affected Systems

Affected products are PraisonAI from MervinPraison. Versions prior to 4.6.58 contain the flaw. Versions 4.6.58 and newer apply an authoritative fix, addressing the Origin header validation logic.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity. EPSS is not available, so the exact exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit this by hosting a malicious web page that triggers a cross‑origin request to the tools/call endpoint; the request includes a text/plain body, satisfies the origin allowlist, and omits any required API key. Because no authentication is required and the request bypasses origin checks, the vulnerability can be abused from any device with network access to the Mop HTTP server.

Generated by OpenCVE AI on August 25, 2026 at 16:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to PraisonAI version 4.6.58 or later, which corrects the origin validation logic.
  • If upgrading is delayed, block or restrict the tools/call endpoint from unknown origins or require HTTPS‑only origins.
  • Enforce the use of an API key for all endpoints, and consider disabling the tools/call feature from external requests when possible.

Generated by OpenCVE AI on August 25, 2026 at 16:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pvph-5j39-v8qc PraisonAI: Origin-validation bypass (startswith prefix match) enables unauthenticated cross-site request forgery against the PraisonAI MCP HTTP server
History

Tue, 25 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Tue, 25 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.58, MCP HTTP Stream _validate_origin uses request_origin.startswith(allowed), allowing the attacker-controlled localhost.attacker.com HTTP origin to satisfy the localhost allowlist. A webpage can send Content-Type: text/plain requests without preflight and invoke tools/call without an API key, including file writes that persist agent instructions. This issue is fixed in version 4.6.58.
Title PraisonAI: Origin-validation bypass (startswith prefix match) enables unauthenticated cross-site request forgery against the PraisonAI MCP HTTP server
Weaknesses CWE-346
CWE-352
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T16:10:44.149Z

Reserved: 2026-06-16T23:01:04.074Z

Link: CVE-2026-55532

cve-icon Vulnrichment

Updated: 2026-08-25T16:10:30.575Z

cve-icon NVD

Status : Received

Published: 2026-08-25T16:16:54.560

Modified: 2026-08-25T17:17:30.910

Link: CVE-2026-55532

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T16:45:04Z

Weaknesses
  • CWE-346

    Origin Validation Error

  • CWE-352

    Cross-Site Request Forgery (CSRF)