CVE-2026-57132: PraisonAI PRAISONAI_CALL_AUTH=disabled Environment Variable Unconditionally Disables Vulnerability

HIGH
Advisory Identifier: GHSA-8ccj-p46r-jwqq
CVSS 8.2
CWE-287
Published
Advisory Summary

CVE-2026-57132 is a HIGH (CVSS 8.2) praisonai_call_auth=disabled environment variable unconditionally disables vulnerability (CWE-287: Improper Authentication) affecting PraisonAI libraries in the PyPI ecosystem. The issue involves praisonai_call_auth=disabled environment variable unconditionally disables authentication. Remediation is available by upgrading affected packages to version 4.6.61.

CVE-2026-57132 at a Glance

CVE Identifier CVE-2026-57132
GHSA Identifier GHSA-8ccj-p46r-jwqq
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-287: Improper Authentication
Affected Product PraisonAI
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-57132

To remediate this vulnerability, upgrade all affected PraisonAI dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

praisonai fixed: 4.6.61
pip install praisonai>=4.6.61
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show praisonai

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-57132, inspect your installed packages using pip:

pip show praisonai

Analyze the terminal output to locate any version of PraisonAI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.61), your application is affected.

Note: The pip show praisonai command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In PraisonAI, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-57132 Affected PraisonAI Versions

1 component(s)
Fixed Versions:
4.6.61
Product / Package Ecosystem Affected Versions Fixed Version
praisonai
PyPI
< 4.6.61
4.6.61

References

Frequently Asked Questions

What is CVE-2026-57132?
CVE-2026-57132 is a security vulnerability in PraisonAI involving PRAISONAI_CALL_AUTH=disabled environment variable unconditionally disables authentication under CWE-287: Improper Authentication.
Which PraisonAI versions are affected?
Affected versions include releases prior to 4.6.61 across affected packages: praisonai.
What version fixes CVE-2026-57132?
Upgrading to 4.6.61 (or the latest patched release for your respective branch) resolves the vulnerability.
Is praisonai affected?
Yes, praisonai is affected in releases prior to 4.6.61. Upgrade your dependency to 4.6.61 or later.
What is the CVSS score of CVE-2026-57132?
CVE-2026-57132 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2026-57132?
CVE-2026-57132 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for CVE-2026-57132?
Run the dependency tree command: 'pip show praisonai'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8ccj-p46r-jwqq",
  "modified" : "2026-07-20T21:26:59Z",
  "published" : "2026-06-18T14:27:15Z",
  "aliases" : [ "CVE-2026-57132" ],
  "summary" : "PraisonAI: PRAISONAI_CALL_AUTH=disabled environment variable unconditionally disables authentication",
  "details" : "### Summary\nSetting `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.\n\n### Details\n\n```python\n# src/praisonai/praisonai/api/agent_invoke.py:32\n_CALL_AUTH_DISABLED = os.getenv('PRAISONAI_CALL_AUTH', '').lower() == 'disabled'\n\nasync def verify_token(...) -> None:\n    if _CALL_AUTH_DISABLED:\n        return  # all authentication skipped unconditionally\n```\n\nThe application's own error message advertises the bypass:\n> \"Set CALL_SERVER_TOKEN or PRAISONAI_CALL_AUTH=disabled to run without authentication.\"\n\nThis causes the setting to appear in Docker/Compose configurations as a convenience option.\n\n### Proof of Concept\n\n```python\nimport os\nos.environ[\"PRAISONAI_CALL_AUTH\"] = \"disabled\"\n# verify_token() now returns immediately for any request\n# POST /api/v1/agents/any-agent/invoke → 200 OK (no token needed)\n```\n\nCommon vulnerable deployment:\n\n```yaml\n# docker-compose.yml\nenvironment:\n  - PRAISONAI_CALL_AUTH=disabled  # auth completely disabled\n```\n\n### Impact\nFull 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "praisonai"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.6.61"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8ccj-p46r-jwqq"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/MervinPraison/PraisonAI"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T14:27:15Z",
    "nvd_published_at" : null
  }
}