Skip to main content
Menu
CVEs

MervinPraison AIUI authentication bypass in unprefixed API routes

Only affects PraisonAI versions before 0.3.155 on deployments that set AUTH_ENFORCE=true. The advisory's CVSS score is 9.3 (critical). Fixed in 0.3.155.

CVE-2026-140348EUVD-2026-140205Published December 1, 2026, updated

9.3CriticalCNA
Exploited
Proof of concept public, per CISA
Fix
Fixed in 0.3.155
Who is exposed
Not reported

Summary

PraisonAI, specifically its aiui package, contains an authentication bypass that can be reached remotely, without logging in. An attacker can request routes such as /agents, /teams, /sessions and /run that skip the authentication check, letting them read configuration, create sessions and execute agents.

Written by a model

Original description

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.

Who should check

Teams running PraisonAI before 0.3.155, including praisonai claw or PraisonAIUI deployments with AUTH_ENFORCE=true that are reachable over the network.

“PraisonAI before 0.3.155 contains an authentication bypass vulnerability”

vulncheck.com

What to do

Upgrade to a fixed version: 0.3.155.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-140348 (PraisonAI before 0.3.155 Authentication Bypass via Unprefixed API Routes), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-140348 (entry last updated 2026-12-01):
Affected:
- PyPI package aiui: fixed in 0.3.155
Fixed versions: 0.3.155.
Conditions (all must be true for the bug to be hit):
- Deployment sets AUTH_ENFORCE=true (source: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2v5m-57pq-r9j3)
- PraisonAI versions before 0.3.155 (source: https://www.vulncheck.com/advisories/praisonai-before-0.3.155-authentication-bypass-via-unprefixed-api-routes)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-140348 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-140348 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2v5m-57pq-r9j3
- https://www.vulncheck.com/advisories/praisonai-before-0.3.155-authentication-bypass-via-unprefixed-api-routes
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-140348
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-140348"}.

Affected versions

cve.now Index

55Pof 100 · provisional · methodology v3
  • Exploitation15/40CISA rates a proof of concept as public
  • Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
  • Reach10/20Affects PyPI packages
  • Severity10/10CVSS 9.3, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 85 if added to CISA KEV
  • Would score about 80 if CISA's SSVC rates exploitation active
  • Would score about 60 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now
  4. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  5. Record last updated

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · MervinPraison/PraisonAI · Advisory GHSA-2v5m-57pq-r9j3
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-140348
RecordNVD · CVE-2026-140348
Other links 1
Linkvulncheck.com · advisories/praisonai-before-0.3.155-authentication-bypass-via-unprefixed-api-routes

Questions about CVE-2026-140348

Is CVE-2026-140348 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

The bug is an authentication bypass in PraisonAI's API routes that lack the usual prefix, so requests to them skip the login check. The advisory says an unauthenticated caller can read deployment configuration, create and list sessions, and run configured agents through /run, which returns the model's reply.

Source: github.com, vulncheck.com

Which versions are affected by CVE-2026-140348?

aiui (PyPI): before 0.3.155.

Source: cve.now feed data

Am I affected, and how do I check?

PraisonAI versions before 0.3.155 are affected, but only on deployments that set AUTH_ENFORCE=true. To check a deployment, look at the installed PraisonAI version and at whether AUTH_ENFORCE is set to true in its environment or configuration.

Source: github.com, vulncheck.com

How do I fix CVE-2026-140348?

Upgrade PraisonAI to version 0.3.155 or later, which is the fixed version named in the advisory.

Source: github.com, vulncheck.com

No corrections so far. Something wrong on this page? Report an error.