High

PraisonAI: PRAISONAI_CALL_AUTH=disabled environment variable unconditionally disables authentication

  • Disclosed: 18.06.2026
  • Updated: 11.10.2026 14:18

Summary

Setting PRAISONAI_CALL_AUTH=disabled completely disables all authentication on the /api/v1/agents/{id}/invoke endpoint. This bypass is advertised in the application's own error messages, making it likely to appear in production Docker and Compose configurations.

Details

python
# src/praisonai/praisonai/api/agent_invoke.py:32
_CALL_AUTH_DISABLED = os.getenv('PRAISONAI_CALL_AUTH', '').lower() == 'disabled'

async def verify_token(...) -> None:
    if _CALL_AUTH_DISABLED:
        return  # all authentication skipped unconditionally

The application's own error message advertises the bypass:

"Set CALL_SERVER_TOKEN or PRAISONAI_CALL_AUTH=disabled to run without authentication."

This causes the setting to appear in Docker/Compose configurations as a convenience option.

Proof of Concept

python
import os
os.environ["PRAISONAI_CALL_AUTH"] = "disabled"
# verify_token() now returns immediately for any request
# POST /api/v1/agents/any-agent/invoke → 200 OK (no token needed)

Common vulnerable deployment:

yaml
# docker-compose.yml
environment:
  - PRAISONAI_CALL_AUTH=disabled  # auth completely disabled

Impact

Full unauthenticated access to the agent invocation API. Any agent registered on the server can be triggered without credentials, potentially executing arbitrary actions depending on the agent's configured tools.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) praisonai < 4.6.61 4.6.61

References

CVSS score 8.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness (CWE)
CWE-287
Platform
Python (PyPI)
Package
praisonai
Disclosed
18.06.2026
Updated
11.10.2026 14:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-3508 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-8ccj-p46r-jwqq - CC BY 4.0

Vulnerability history: praisonai

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (104) in the archive
Total entries
104
First → latest
04.2026 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 27
  • High 60
  • Medium 17

Disclosures per year

  1. 2026: 104
Severity:
  1. High · 7.5 CVE-2026-61439 < 4.6.78 4.6.78
  2. PraisonAI: PRAISONAI_CALL_AUTH=disabled environment variable unconditionally disables authentication this entry
    High · 8.2 CVE-2026-57132 < 4.6.61 4.6.61
  3. High · 7.3 CVE-2026-56839 < 4.6.59 4.6.59
  4. High · 7.2 CVE-2026-57114 >= 4.5.126, < 4.6.59 4.6.59
  5. Critical · 9.8 CVE-2026-57125 < 4.6.59 4.6.59
  6. High · 8.8 CVE-2026-57117 >= 4.6.10, < 4.6.59 4.6.59
  7. High · 7.8 CVE-2026-56838 >= 4.5.87, < 4.6.59 4.6.59
Show more (20) Showing 40 of 87

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.