{
  "id": "CVE-2026-47393",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47393",
  "published_at": "2026-07-21T15:39:28.459Z",
  "title": "PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default",
  "vendor": "MervinPraison",
  "product": "PraisonAI",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-306",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MervinPraison",
        "product": "PraisonAI",
        "ranges": [
          "\u003c 4.6.40"
        ],
        "fixed_in": [
          "4.6.40"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PraisonAI to 4.6.40 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8444-4fhq-fxpq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MervinPraison/PraisonAI/pull/1685"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MervinPraison/PraisonAI/commit/ef79b7a0561796ad9807f0f09538c25cc78d3619"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/advisories/GHSA-6rmh-7xcm-cpxj"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
