# CVE-2026-47393: PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T22:29:20.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-8444-4fhq-fxpq, PYSEC-2026-465
- Weaknesses: CWE-306, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.40
- praisonai (PyPI): before 4.6.40

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8444-4fhq-fxpq> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/pull/1685>
- <https://github.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619>
- <https://github.com/advisories/GHSA-6rmh-7xcm-cpxj> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-8444-4fhq-fxpq> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47393> (advisory)

## Sources

- CVE List: [CVE-2026-47393](https://www.cve.org/CVERecord?id=CVE-2026-47393), CVE Terms of Use, modified 2026-07-22
- GitHub Advisory Database: [GHSA-8444-4fhq-fxpq](https://github.com/advisories/GHSA-8444-4fhq-fxpq), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-47393](https://nvd.nist.gov/vuln/detail/CVE-2026-47393), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-465](https://osv.dev/vulnerability/PYSEC-2026-465), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-47393 · Whole record: https://cve.day/CVE-2026-47393.json · Rebuilt by cve.day 2026-11-25T22:59:29.350Z
