Description
PraisonAI is a multi-agent teams system. CVE-2026-44338 (GHSA-6rmh-7xcm-cpxj) documents that PraisonAI ships a code-generator (`praisonai.deploy.api.generate_api_server_code`) that emits a Flask API server with authentication disabled by default. Users who follow the documented quickstart (`praisonai deploy --type api`) get a server that binds to `0.0.0.0` per the recommended sample YAML, exposes `/chat` and `/agents` endpoints, runs `praisonai.run()` on user-supplied JSON input — LLM orchestration with the API key materials present in the process environment, and does not require any authentication. Versions prior to 4.6.40 still ship the generator with `auth_enabled` defaulting to `False`. The fix shape is opt-in via `APIConfig(auth_enabled=True, auth_token=...)`. Version 4.6.40 fixes the issue.
Published: 2026-07-21
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI, a multi‑agent team orchestration platform, ships a code generator that outputs a Flask API server. If users run the documented quickstart command `praisonai deploy --type api`, the generator creates a server that listens on all network interfaces (`0.0.0.0`), exposes `/chat` and `/agents` endpoints, and runs `praisonai.run()` on user‑supplied JSON data. Prior to release 4.6.40 the generator has `auth_enabled` set to `False` by default, meaning the resulting API server has no authentication mechanism. This flaw, classified as CWE‑1188 and CWE‑306, allows any host that can reach the server to send requests to the exposed endpoints without credentials, potentially allowing unauthorized access to the internal LLM orchestration, exposure of API keys that may be present in the process environment, or manipulation of system behavior.

Affected Systems

All releases of PraisonAI produced by MervinPraison older than version 4.6.40 include the generator with auth_enabled defaulting to False. Users following the documented quickstart or the code‑generator directly are impacted. Version 4.6.40 and later correct the default behaviour, enabling authentication by default unless explicitly overridden.

Risk and Exploitability

The CVSS base score of 9.8 denotes a critical severity. The EPSS score of < 1% indicates a low probability of active exploitation at the current moment, and the issue is not listed in the CISA KEV catalogue. Based on the description, it is inferred that exploitation requires only that the vulnerable server is reachable; an attacker can send requests to the exposed endpoints and interact with the underlying LLM orchestration, potentially obtaining secret API keys or causing undesired operations. The condition is simple: run the deploy command with default settings and expose the server to the network. Because the server has no authentication, it permits unrestricted use, leading to potential data exposure and system compromise.

Generated by OpenCVE AI on July 30, 2026 at 17:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.40 or later so that authentication is enabled by default.
  • If upgrading is delayed, explicitly enable authentication in the server configuration by setting APIConfig(auth_enabled=True, auth_token=…) when generating or deploying the API.
  • Limit the network exposure of the generated server by binding it to localhost (127.0.0.1) or protecting it behind a firewall, ensuring that only authorized hosts can reach the service.

Generated by OpenCVE AI on July 30, 2026 at 17:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8444-4fhq-fxpq PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default
History

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Tue, 21 Jul 2026 16:00:00 +0000

Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. CVE-2026-44338 (GHSA-6rmh-7xcm-cpxj) documents that PraisonAI ships a code-generator (`praisonai.deploy.api.generate_api_server_code`) that emits a Flask API server with authentication disabled by default. Users who follow the documented quickstart (`praisonai deploy --type api`) get a server that binds to `0.0.0.0` per the recommended sample YAML, exposes `/chat` and `/agents` endpoints, runs `praisonai.run()` on user-supplied JSON input — LLM orchestration with the API key materials present in the process environment, and does not require any authentication. Versions prior to 4.6.40 still ship the generator with `auth_enabled` defaulting to `False`. The fix shape is opt-in via `APIConfig(auth_enabled=True, auth_token=...)`. Version 4.6.40 fixes the issue.
Title PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default
Weaknesses CWE-1188
CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T14:34:05.072Z

Reserved: 2026-05-19T19:22:45.729Z

Link: CVE-2026-47393

cve-icon Vulnrichment

Updated: 2026-07-22T14:34:00.607Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:15:12Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-306

    Missing Authentication for Critical Function