# CVE-2026-40149: PraisonAI has an Unauthenticated Allow-List Manipulation Bypasses Agent Tool Approval Safety Controls

- Severity: High 7.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T21:23:03.831Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-4wr3-f4p3-5wjh, PYSEC-2026-2901
- Weaknesses: CWE-306, CWE-396
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.128
- praisonai (PyPI): before 4.5.128
- praison praisonai: before 4.5.128

## Every score

- GitHub_M: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`

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

## Sources

- CVE List: [CVE-2026-40149](https://www.cve.org/CVERecord?id=CVE-2026-40149), CVE Terms of Use, modified 2026-04-13
- GitHub Advisory Database: [GHSA-4wr3-f4p3-5wjh](https://github.com/advisories/GHSA-4wr3-f4p3-5wjh), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40149](https://nvd.nist.gov/vuln/detail/CVE-2026-40149), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2901](https://osv.dev/vulnerability/PYSEC-2026-2901), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40149 · Whole record: https://cve.day/CVE-2026-40149.json · Rebuilt by cve.day 2026-11-25T22:59:18.458Z
