On this page
PraisonAI is what teams use to offer other people AI agents as a service. 0.3.155 fixes a bug in all previous versions which allowed anyone with access to the server to use the server without logging in. No need to sign up. You didn't need an account to use the server. You didn't have to figure out a password. The request reached the same handler by a different path.
Middleware in front of the PraisonAI API decides whether a request may pass. The check was for /api/ paths only. But requests to /agents, /teams, /sessions or /run just went to the same handlers without even checking for logins. A request through one of those paths bypassed the check and went straight through. Then you would have an unauthenticated caller that can view server settings, start sessions, and run agents. The expensive and powerful part is the agent itself. Running an agent spends the team's model credits, and the agent works with the tools and keys it carries.
A PraisonAI server can put a sign-in challenge on its normal routes and still take orders from a stranger at the unprefixed address.
How to fix
Upgrade PraisonAI to 0.3.155 or later:
pip install --upgrade "praisonai>=0.3.155" Run the check below anyway, after the upgrade. That update will effectively block the unprefixed routes. That tells you if your server ever responded on them when it was open.
Affected product and versions
Affected product: PraisonAI, the Python agent framework and its API server.
Every PraisonAI release older than 0.3.155 is affected. PraisonAI included the fix in 0.3.155. So if your server upgrades to that, the issue is patched up.
Who is not in scope
Servers on PraisonAI 0.3.155 or later already carry the fix. It's not exploitable by an attacker against a server that cannot be accessed by any untrusted network. After all, the request has to get to the server. A laptop-level test (no API ever goes to network) should be in the same safe zone as well.
One check to run now
Ask your own server for its agent list without signing in:
Send a plain web request to the /agents path on your own PraisonAI host, at the host and port your deployment serves on, and read what comes back. If agent data comes back rather than a rejection, the server is answering requests with no login, and the upgrade cannot wait. Send the same request to /sessions and to /run, and compare the results. The answer wanted on every one of them is a denial or a sign-in challenge.
What this is not
This flaw is not prompt injection, and it needs no clever prompt and no poisoned document. It's a missing login check for the second set of routes. Also not a fault of agents that the team developed. And they followed orders. The server just let someone else call the shots. This bug is not flagged as exploited in the record. It looks like there aren't any attacks yet.
Why a second set of routes exists
Frameworks often serve the same handlers at a short path for local use and under an /api/ prefix for the public server. In development the short paths are convenient, because the server runs on one machine that nobody else can reach, so nobody signs in. Then you get into trouble when you use that build on an address where other people can get to it. The prefix check looks complete from the front door, and the side door is easy to miss because it was never locked in the first place.
HOL assessment
We identify only one group of people that were exposed. This is teams that had used PraisonAI as a shared service. Individuals using it on their own machines are not exposed. If your agent is on a server accessible to others, then run it today without logging in before the upgrade window to see if that door was left open or never reachable. Check the session logs for any sessions you're not familiar with and rotate all the model keys that were held by server.
The full source record for CVE-2026-140348 sits on the HOL Guard evidence page. Source advisory link: https://hol.org/guard/security/cves/CVE-2026-140348-praisonai-before-03155-authentication-bypass-via
For other people interested in this pattern in other products, look at our previous posts about the mysql2 flaw (CVE-2026-139877) and the chain in GeoServer (CVE-2026-120705).
FAQ: Does turning on authentication protect me from CVE-2026-140348?
Simply enabling authentication is not enough to protect your server from this problem. The authentication check was only done for paths under /api/ and the same handlers worked without needing login at /agents, /teams, /sessions, /run. Go to at least PraisonAI version 0.3.155 and ask for these routes without logging in and see if you get rejected by all of them.
FAQ: How do I fix CVE-2026-140348?
In every deployment, upgrade PraisonAI to 0.3.155 or later, then run the unauthenticated request check against each server you run. If a server responded without login then take a look at their sessions and rotate the model keys they had.
Where to download Guard
HOL Guard is open source and free. You can download Guard Desktop from hol.org/guard/install for Apple silicon (macOS 13+) or Windows x64 or Linux x86_64. You don't need to use the terminal. Same page has a one-line terminal install too. After installing, hol-guard doctor will tell you that daemon is started and the intercept layer is up and working.