Skip to content
CriticalVulnerability

GHSA-8444-4fhq-fxpq: PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default

Published
Record updated
View JSON
Affected
  • PraisonAI <= 4.6.39
Fixed in
4.6.40
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

PraisonAI 4.6.33, the current @latest PyPI wheel, ships a code generator (praisonai.deploy.api.generate_api_server_code) that emits a Flask API server with auth_enabled defaulting to False in praisonai/deploy/models.py. The documented command praisonai deploy --type api therefore produces a server bound to 0.0.0.0 that exposes /chat and /agents without authentication, letting unauthenticated callers run praisonai.run() on user-supplied JSON. The record cross-references CVE-2026-44338 (GHSA-6rmh-7xcm-cpxj) as a related issue.

Mitigation

The fix shape is opt-in: set APIConfig(auth_enabled=True, auth_token=...) to enable authentication. No fixed release version is stated in the source.