Sceawere
Vulnerability Detail
CVE-2026-57134UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
PraisonAI Authentication Bypass Vulnerability
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 8.2
- Creation Date
- 5h ago
- Vendor
- MervinPraison
- Product
- PraisonAI
- Attack Type
- CWE-287: Improper Authentication
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Attack Complexity
- LOW
Narrative and Response
Description
PraisonAI is a multi-agent teams system. From 1.5.1 until 1.7.2, MCPSecurity.evaluatePolicy() in src/praisonai-ts/src/mcp/security.ts invokes the configured credential validator only when AuthMethod is api-key or bearer. Basic and OAuth policies accept any non-empty Authorization header without calling auth.validate(), then return an authenticated result, allowing callers with invalid credentials to access MCP tools and resources protected by those policies. This issue is fixed in version 1.7.2.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "8.2",
"pubDate": "2026-09-15T11:17:10.583Z",
"pubdate": "2026-09-15T11:17:10.583Z",
"executiveSummary": "PraisonAI versions 1.5.1 through 1.7.2 contain a critical authentication bypass vulnerability within the MCPSecurity module.\nThe vulnerability resides in the evaluatePolicy() function, which fails to execute credential validation logic for Basic and OAuth authentication methods.\nBy providing any non-empty string in the Authorization header, an unauthenticated attacker can circumvent security controls and gain unauthorized access to protected MCP tools and resources.\nThis flaw allows for unauthorized execution of sensitive operations, posing a significant risk to the integrity and confidentiality of the multi-agent system.\nThe vulnerability is limited to the specific logic handling of authentication policies and does not require complex prerequisites other than the ability to supply an arbitrary header value.\nUsers are strongly advised to update to version 1.7.2 or later to ensure proper enforcement of credential validation.",
"technicalDetails": "The vulnerability is located in the src/praisonai-ts/src/mcp/security.ts file, specifically within the MCPSecurity.evaluatePolicy() function.\nThe root cause is a conditional logic error in the policy evaluation workflow where the security implementation only invokes the configured credential validator when the AuthMethod is explicitly set to 'api-key' or 'bearer'.\nFor policies configured with 'Basic' or 'OAuth' authentication types, the function defaults to a permissive state. Instead of invoking auth.validate() to verify the authenticity of the provided credentials, the system checks only for the existence of a non-empty Authorization header.\nIf the header is non-empty, the function immediately returns an authenticated result, effectively bypassing the security layer and granting access to protected MCP tools regardless of the validity of the supplied credentials.\nAn attack flow is straightforward: an attacker observes the system's reliance on MCP resources and identifies that Basic or OAuth authentication is in use. The attacker crafts an HTTP request including an Authorization header containing any arbitrary or junk string. Upon reaching the MCPSecurity.evaluatePolicy() method, the component skips the validation step, treats the arbitrary string as a successful authentication event, and grants the requested access.\nThis exposure allows unauthorized parties to interact with MCP tools, potentially leading to unauthorized data exfiltration, system manipulation, or further escalation within the multi-agent team environment.\nThe vulnerability affects all versions of PraisonAI from 1.5.1 up to 1.7.2, where the flawed conditional check is present in the TypeScript source code.\nThe lack of strict validation for Basic and OAuth methods essentially renders those authentication protocols inert, providing a false sense of security while leaving the system fully exposed to any request containing a minimal header payload."
}