CVE-2026-34953 — Vulnerability in praisonai — CVE Details
PraisonAI Has Authentication Bypass via OAuthManager.validate_token()
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.44%). Schedule for your next planned update.
Does your project use an affected praisonai version?
Paste your requirements.txt to check it for CVE-2026-34953 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
OAuthManager.validate_token() returns True for any token not found in its internal store, which is empty by default. Any HTTP request to the MCP server with an arbitrary Bearer token is treated as authenticated, granting full access to all registered tools and agent capabilities.
Details
oauth.py:364 (source) -> oauth.py:374 (loop miss) -> oauth.py:381 (sink)
# source
def validate_token(self, token: str) -> bool:
for stored_token in self._tokens.values():
if stored_token.access_token == token:
return not stored_token.is_expired()
# sink -- _tokens is empty by default, loop never executes, falls through
return True
PoC
# install: pip install -e src/praisonai
# start server: praisonai mcp serve --transport http-stream --port 8080
curl -s -X POST http://127.0.0.1:8080/mcp \
-H "Authorization: Bearer fake_token_abc123" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
# expected output: 200 OK with full tool list (50+ tools)
# including praisonai.agent.run, praisonai.workflow.run, praisonai.containers.file_write
Impact
Any unauthenticated attacker with network access to the MCP HTTP server can call all registered tools including agent execution, workflow runs, container file read/write, and skill loading. The server binds to 0.0.0.0 by default with no API key required.
Suggested Fix
def validate_token(self, token: str) -> bool:
for stored_token in self._tokens.values():
if stored_token.access_token == token:
return not stored_token.is_expired()
# Unknown tokens must be rejected.
# For external/JWT tokens, call the introspection endpoint here before returning.
return False
Advisory Timeline
- First published June 29, 2026 (150 days ago).
- Last revised July 13, 2026 — 14 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "praisonai>=4.5.97"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| praisonai PyPI · Affected: 0.0.1, 0.0.10, 0.0.11, 0.0.12 (+652 more) | 4.5.97 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-34953?
- PraisonAI Has Authentication Bypass via OAuthManager.validate_token(). This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2026-34953?
- CVE-2026-34953 affects praisonai. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34953 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 30.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-41497CRITICAL
PraisonAI has an incomplete fix for CVE-2026-34935 - OS Command Injection
- CVE-2026-57131CRITICAL
PraisonAI: Jobs API exposes agent-execution endpoints with no authentication
- CVE-2026-57127CRITICAL
praisonai: recipe serve auth middleware silently disables itself when no secret is set
- CVE-2026-57124CRITICAL
PraisonAI: Missing Authentication for Critical Function and Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in praisonai
- CVE-2026-40154CRITICAL
PraisonAI Vulnerable Untrusted Remote Template Code Execution
- CVE-2026-40288CRITICAL
PraisonAI has critical RCE via `type: job` workflow YAML
- CVE-2026-47391CRITICAL
PraisonAI's unauthenticated A2A official example can reach real LLM-driven `eval()` tool execution
- CVE-2026-55541HIGH
PraisonAI: `--api-key` flag on `praisonai serve` is not properly enforced