CVE-2026-40149
HIGH 7.3CVSS 3.1PraisonAI: Unauthenticated Allow-List Manipulation Bypasses Agent Tool Approval Safety Controls
PraisonAI is a multi-agent teams system. Prior to 4.5.128, the gateway's /api/approval/allow-list endpoint permits unauthenticated modification of the tool approval allowlist when no auth_token is configured (the default). By adding dangerous tool names (e.g., shell_exec, file_write) to the allowlist, an attacker can cause the ExecApprovalManager to auto-approve all future agent invocations of those tools, bypassing the human-in-the-loop safety mechanism that the approval system is specifically designed to enforce. This vulnerability is fixed in 4.5.128.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-306CWE-396
- Also known as
- GHSA-4wr3-f4p3-5wjhPYSEC-2026-2901
- Sources
- NVDJSONOSV GHSA-4wr3-f4p3-5wjhJSONOSV PYSEC-2026-2901JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaicpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* |
< 4.5.128 | 4.5.128 |
| OSV | PyPI | praisonai | < 4.5.128 | 4.5.128 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4wr3-f4p3-5wjh · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40149 · ADVISORY
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128 · WEB
- https://pypi.org/project/praisonai · PACKAGE
- https://github.com/advisories/GHSA-4wr3-f4p3-5wjh · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Apr 2026)