CVE-2026-47393: CWE-306: Missing Authentication for Critical Function in MervinPraison PraisonAI
CVE-2026-47393 affects MervinPraison's PraisonAI multi-agent system. The vulnerability arises because the code-generator for a Flask API server disables authentication by default, exposing critical endpoints without access control. This allows unauthenticated users to interact with the API, potentially accessing sensitive data and controlling LLM orchestration. Versions prior to 4.6.40 ship with this insecure default. The issue is fixed in version 4.6.40 by enabling authentication via configuration.
AI Analysis
Technical Summary
PraisonAI includes a code-generator (`praisonai.deploy.api.generate_api_server_code`) that produces a Flask API server with authentication disabled by default (`auth_enabled=False`). The default quickstart configuration binds the server to all network interfaces (0.0.0.0) and exposes endpoints such as `/chat` and `/agents` without requiring authentication. This allows unauthenticated access to critical functions, including running `praisonai.run()` with user-supplied JSON input, which can expose API key materials and sensitive orchestration controls. Versions prior to 4.6.40 are affected. The vulnerability is addressed in version 4.6.40 by making authentication opt-in and requiring an auth token.
Potential Impact
An attacker can access critical API endpoints without authentication, leading to full confidentiality, integrity, and availability compromise of the PraisonAI service. This includes unauthorized execution of commands and potential exposure of API keys and sensitive orchestration data. The CVSS 3.1 base score is 9.8 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.40 or later, where authentication is enabled by default via `APIConfig(auth_enabled=True, auth_token=...)`. Users should avoid deploying the API server with the default quickstart configuration that disables authentication. Since this is not a cloud service, remediation requires user action to upgrade and configure authentication properly. Patch status is confirmed fixed in 4.6.40.
CVE-2026-47393: CWE-306: Missing Authentication for Critical Function in MervinPraison PraisonAI
Description
CVE-2026-47393 affects MervinPraison's PraisonAI multi-agent system. The vulnerability arises because the code-generator for a Flask API server disables authentication by default, exposing critical endpoints without access control. This allows unauthenticated users to interact with the API, potentially accessing sensitive data and controlling LLM orchestration. Versions prior to 4.6.40 ship with this insecure default. The issue is fixed in version 4.6.40 by enabling authentication via configuration.
CVSS v3.1
Score 9.8critical
Affected software
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI includes a code-generator (`praisonai.deploy.api.generate_api_server_code`) that produces a Flask API server with authentication disabled by default (`auth_enabled=False`). The default quickstart configuration binds the server to all network interfaces (0.0.0.0) and exposes endpoints such as `/chat` and `/agents` without requiring authentication. This allows unauthenticated access to critical functions, including running `praisonai.run()` with user-supplied JSON input, which can expose API key materials and sensitive orchestration controls. Versions prior to 4.6.40 are affected. The vulnerability is addressed in version 4.6.40 by making authentication opt-in and requiring an auth token.
Potential Impact
An attacker can access critical API endpoints without authentication, leading to full confidentiality, integrity, and availability compromise of the PraisonAI service. This includes unauthorized execution of commands and potential exposure of API keys and sensitive orchestration data. The CVSS 3.1 base score is 9.8 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.40 or later, where authentication is enabled by default via `APIConfig(auth_enabled=True, auth_token=...)`. Users should avoid deploying the API server with the default quickstart configuration that disables authentication. Since this is not a cloud service, remediation requires user action to upgrade and configure authentication properly. Patch status is confirmed fixed in 4.6.40.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T19:22:45.729Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5f96f22a4a8d59895fb2db
Added to database: 07/21/2026, 15:57:38 UTC
Last enriched: 07/30/2026, 09:23:22 UTC
Last updated: 09/02/2026, 22:52:12 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.