{"id":"CVE-2026-47393","published":"2026-07-21T15:39:28Z","modified":"2026-07-22T14:34:05Z","title":"PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0058,"percentile":0.48635,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8444-4fhq-fxpq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/pull/1685","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-6rmh-7xcm-cpxj","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":9.73},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.40"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-22T14:33:44.826949Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.40"],"patched":["4.6.40"],"from":["GHSA-8444-4fhq-fxpq","PYSEC-2026-465"],"provenance":"source"}],"summary":{"text":"PraisonAI's praisonai.deploy.api.generate_api_server_code generator emits a Flask API server with authentication disabled by default, which the documented praisonai deploy --type api quickstart produces, binding to 0.0.0.0 and exposing /chat and /agents endpoints. An attacker with network access to that server can, without any credentials or user interaction, submit JSON input that drives praisonai.run(), with the API key materials present in the process environment reachable through that LLM orchestration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:58Z"},"euvd":{"id":"EUVD-2026-46297","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mervinpraison-praisonai-cve-2026-44338","parents":[{"from":"CVE-2026-44338","to":"CVE-2026-47393","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-6rmh-7xcm-cpxj","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-8444-4fhq-fxpq","via":"reference","url":"https://github.com/advisories/GHSA-6rmh-7xcm-cpxj"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-465","via":"reference","url":"https://github.com/advisories/GHSA-6rmh-7xcm-cpxj"}]}]}}