# CVE-2026-57127: praisonai: recipe serve auth middleware silently disables itself when no secret is set

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T13:56:55.000Z
- Modified: 2026-09-16T13:42:48.053Z
- Also known as: GHSA-j4hj-7hfh-g2f4, PYSEC-2026-3513
- Weaknesses: CWE-306, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to 4.6.58, recipe serve installs APIKeyAuthMiddleware or JWTAuthMiddleware when an operator selects api-key or JWT authentication, but each middleware forwards requests when PRAISONAI_API_KEY or PRAISONAI_JWT_SECRET and the corresponding recipe value are absent. Unauthenticated clients can then reach recipe execution, input, and output surfaces and may trigger connected tools despite the operator explicitly enabling authentication. This issue is fixed in 4.6.58.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.48
- praisonai (PyPI): before 4.6.59

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-j4hj-7hfh-g2f4> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/commit/2f9677abb2ea68eab864ee8b6a828fd0141612e1>
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.58>
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-j4hj-7hfh-g2f4> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57127> (advisory)

## Sources

- CVE List: [CVE-2026-57127](https://www.cve.org/CVERecord?id=CVE-2026-57127), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-j4hj-7hfh-g2f4](https://github.com/advisories/GHSA-j4hj-7hfh-g2f4), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-57127](https://nvd.nist.gov/vuln/detail/CVE-2026-57127), Public domain, modified 2026-09-16
- PyPA Advisory Database: [PYSEC-2026-3513](https://osv.dev/vulnerability/PYSEC-2026-3513), CC-BY-4.0, modified 2026-07-23

---

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