PraisonAI versions before 0.3.155 contain a critical authentication bypass (CVSS 3.1: 9.1) that lets unauthenticated attackers reach protected handlers by requesting routes without the /api/ prefix.
What Is It
CVE-2026-140348 is an authentication bypass in PraisonAI, from the vendor MervinPraison. The flaw is in AuthEnforcementMiddleware, which only checks requests under /api/. An attacker can skip that check by calling the same handlers on unprefixed routes: /agents, /teams, /sessions and /run. Through these routes, an unauthenticated attacker can read configuration, create sessions and execute agents.
The weakness is classified as CWE-306. VulnCheck disclosed the issue, and NVD published it on 2026-12-01. The NVD record is currently marked "Deferred."
Why It Matters
VulnCheck rates the flaw CRITICAL under two CVSS versions:
- CVSS 3.1: 9.1 (
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) - CVSS 4.0: 9.3
An attacker can exploit it over the network with low complexity, no privileges and no user interaction. Both confidentiality and integrity impact are rated high. In practice, anyone who can reach an exposed PraisonAI instance could read its configuration and run its agents.
The supplied CISA Known Exploited Vulnerabilities (KEV) data contains no entry for this CVE. That means CISA has not confirmed active exploitation, and the source material contains no KEV-mandated required action or due date. The CVSS 4.0 exploit maturity field is "Not Defined."
What's Vulnerable
- Vendor: MervinPraison
- Product: PraisonAI
- Package:
pkg:pypi/aiui - Affected: all versions before 0.3.155
- Unaffected: 0.3.155
NVD lists no CPE entries for this CVE.
Patch Status
The affected-version data marks 0.3.155 as unaffected, which places the fix in that release. Operators running earlier versions should upgrade to 0.3.155 or later. Until they can upgrade, they should treat any reachable PraisonAI instance as open to unauthenticated access to agent, team, session and run handlers. For fix details, see the vendor's GitHub security advisory (GHSA-2v5m-57pq-r9j3) and the VulnCheck advisory.