# CVE-2026-57147: praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery

- 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.57%, higher than 48% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T14:27:34.000Z
- Modified: 2026-09-17T15:16:48.603Z
- Also known as: GHSA-cwj8-7gp2-ggcw, PYSEC-2026-3524
- Weaknesses: CWE-798, 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 0.1.6, praisonai_platform/services/auth_service.py assigns the public dev-secret-change-me value to JWT_SECRET when PLATFORM_JWT_SECRET is unset, and its production guard does not run when PLATFORM_ENV is also unset because that setting defaults to dev. A remote unauthenticated attacker can mint an HS256 token with an arbitrary sub and email, and the platform's AuthService._verify_token() and get_current_user dependency accept the forged identity for protected API routes. This vulnerability is fixed in praisonai-platform 0.1.6.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.51
- MervinPraison praisonai-platform: < 0.1.6
- praisonai-platform (PyPI): before 0.1.6

## 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://www.youtube.com/watch?v=bDSRHAI28BY&list=RDhqGkrTbgU2c&index=8> (exploit)
- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-cwj8-7gp2-ggcw> (web)
- <https://github.com/MervinPraison/PraisonAI/pull/1793>
- <https://github.com/MervinPraison/PraisonAI/commit/e0fb8e7dd1ee6759c18ed07f436c21dbd9c20747>
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.51>
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai-platform> (package)
- <https://github.com/advisories/GHSA-cwj8-7gp2-ggcw> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57147> (advisory)

## Sources

- CVE List: [CVE-2026-57147](https://www.cve.org/CVERecord?id=CVE-2026-57147), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-cwj8-7gp2-ggcw](https://github.com/advisories/GHSA-cwj8-7gp2-ggcw), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-57147](https://nvd.nist.gov/vuln/detail/CVE-2026-57147), Public domain, modified 2026-09-17
- PyPA Advisory Database: [PYSEC-2026-3524](https://osv.dev/vulnerability/PYSEC-2026-3524), CC-BY-4.0, modified 2026-07-23

---

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