PraisonAI ships a legacy Flask API server that has authentication disabled by default due to hard-coded `AUTH ENABLED = False` and `AUTH TOKEN = None` variables in the `api server.py` file. This causes the `check auth()` function to fail open, allowing any network caller to access protected endpoints without a token. Specifically, the 'GET /agents' endpoint exposes agent metadata, and the 'POST /chat' endpoint triggers the `PraisonAI().run()` function to execute the configured `agents.yaml` workflow, regardless of the provided `message` variable.
Real-world incidents indicate that automated scanners, such as `CVE-Detector/1.0`, began probing vulnerable systems within 3 hours and 44 minutes of public disclosure. The impact depends on the permissions granted to the agents in `agents.yaml`, which may include access to internal databases, file systems, shell commands, or the consumption of expensive LLM API quotas. Additionally, the Gateway and AGUI endpoints were found to have hard-coded wildcard CORS headers (`Access-Control-Allow-Origin: *`), potentially allowing malicious websites to trigger agents on a local machine.