CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-57134

highCVSS 8.2covered by 1 sourcefirst seen 2026-06-18
Summary The published npm package praisonai exports an MCPSecurity helper described in source as: MCP Security - Authentication, authorization, and rate limiting Provides security policies for MCP servers. Its AuthMethod type advertises five authentication methods: export type AuthMethod = 'none' | 'api-key' | 'bearer' | 'basic' | 'oauth'; The authentication-policy evaluator, however, only validates credentials for api-key and bearer: if (policy.auth.method === 'api-key' || policy.auth.method === 'bearer') { const valid = policy.auth.validate ? await policy.auth.validate(token) : this.validateApiKey(token); if (!valid) { return { allowed: false, reason: 'Invalid credentials' }; } } return { allowed: true, context: { authenticated: true } }; For basic and oauth, any non-empty Authorization header skips the supplied validate callback and returns allowed. A local PoV configures auth.validate to always return false; invalid api-key and bearer credentials are rejected, while invalid basic and oauth credentials are accepted without calling the validator. This is a protection-mechanism failure in the exported npm MCP security helper. It is distinct from the separate issue that the npm MCPServer HTTP transport does not enforce authentication by default. Technical Details SecurityPolicy.auth accepts both a method and a validator: auth?: { method: AuthMethod; validate?: (token: string) => Promise<boolean> }; extractToken() parses both Bearer and Basic headers: if (auth.startsWith('Bearer ')) { return auth.slice(7); } if (auth.startsWith('Basic ')) { return auth.slice(6); } return auth; But evaluatePolicy() only calls policy.auth.validate() for two methods: if (policy.auth.method === 'api-key' || policy.auth.method === 'bearer') { const valid = policy.auth.validate ? await policy.auth.validate(token) : this.validateApiKey(token); if (!valid) { return { allowed: false, reason: 'Invalid credentials' }; } } There is no validation branch for basic or oauth. Afte

⚡ Watch CVE-2026-57134

Get an email if CVE-2026-57134 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Advisory coverage (1)

External references

NVD record for CVE-2026-57134

CVE.org record

Embed the live status

CVE-2026-57134 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-57134 status](https://www.csirts.com/badge/CVE-2026-57134)](https://www.csirts.com/cve/CVE-2026-57134)