SECURITYCRITICALCVE-2026-140348

CVE-2026-140348: PraisonAI Authentication Bypass via Unprefixed Routes (CVSS 9.1)

PraisonAI before 0.3.155 only enforces auth under /api/, so /agents, /teams, /sessions and /run can be called without credentials. Upgrade to 0.3.155.

Dylan H.

Security Team

December 2, 2026
2 min read
CVE-2026-140348: PraisonAI Authentication Bypass via Unprefixed Routes (CVSS 9.1)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • PraisonAI versions before 0.3.155

Summary

CVE-2026-140348 is an authentication bypass in PraisonAI, published December 1, 2026. NVD lists a CVSS 3.1 score of 9.1; the CNA (VulnCheck) lists CVSS 4.0 at 9.3. The weakness is missing authentication for a critical function (CWE-306).

Details

PraisonAI's AuthEnforcementMiddleware only checks request paths that begin with /api/. The same handlers were also mounted without that prefix, and those duplicate routes were left unprotected. A remote, unauthenticated attacker can request them directly:

  • /agents
  • /teams
  • /sessions
  • /run

According to the advisory summary, this allows reading configuration, creating sessions and executing agents. Agents often hold API keys and tool access, so running one can reach well beyond the PraisonAI host.

Search results for the CVE note a public proof of concept and that CISA's enrichment marks the flaw as automatable. We did not independently confirm in-the-wild exploitation. The vendor advisory is GHSA-2v5m-57pq-r9j3.

Separate PraisonAI authentication issues exist, such as CVE-2026-55538 and CVE-2026-44338. They are different flaws; do not assume 0.3.155 covers them.

What to do

  • Upgrade PraisonAI to 0.3.155 or later.
  • Do not expose PraisonAI servers to untrusted networks; put them behind a reverse proxy that requires authentication on every path.
  • Check access logs for requests to /agents, /teams, /sessions and /run that did not go through /api/.
  • Rotate API keys and tokens configured for agents on any instance that was internet-reachable.
  • If you build on similar middleware, verify it covers every mount point, not only one path prefix.

Sources