CVE-2026-140348: PraisonAI before 0.3.155 Authentication Bypass via Unprefixed API Routes
PraisonAI before 0.3.155 contains an authentication bypass vulnerability that allows unauthenticated attackers to access protected handlers by requesting unprefixed routes. AuthEnforcementMiddleware only checks paths under /api/, so attackers can call /agents, /teams, /sessions and /run to read configuration, create sessions and execute agents.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.3.155
Event History
Frequently Asked Questions
Which deployments are exposed?
PraisonAI deployments running a version before 0.3.155 are affected where the vulnerable handlers are reachable over the network. The affected unprefixed endpoints include /agents, /teams, /sessions, and /run.
Does exploitation require credentials or user interaction?
No. The vulnerability is remotely exploitable without authentication, privileges, or user interaction.
What can an unauthenticated attacker do?
An attacker can access protected handlers through unprefixed routes, read configuration, create sessions, and execute agents. This can affect confidentiality and integrity.
How can I determine whether my deployment is vulnerable?
Check the installed PraisonAI version and whether it is earlier than 0.3.155. Also verify whether requests to unprefixed paths such as /agents, /teams, /sessions, or /run reach the application without authentication.
What should be done if immediate upgrading is not possible?
Restrict network access to the affected application and block unauthenticated requests to the unprefixed vulnerable paths at a reverse proxy or other network enforcement point.