NetSight
high8.2

CVE-2026-57134

npm PraisonAI MCPSecurity Basic/OAuth authentication policies accept invalid credentials without validation

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmpraisonai>= 1.5.1, <= 1.7.11.7.2

Weakness classification

References