Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-47393 EUVD-2026-46297GHSA-8444-4fhq-fxpqPYSEC-2026-465

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

Published Jul 21, 2026 · Updated Jul 22, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.40 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.40 4.6.40 GHSA-8444-4fhq-fxpq

References