Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-57147praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery
Critical 9.8
In plain English
A critical-severity hard-coded credentials in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | praisonai-platform | 0.1.6 | GHSA-cwj8-7gp2-ggcw |
| PyPI | praisonai-platform | 0.1.6 | PYSEC-2026-3524 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MervinPraison | PraisonAI | < 4.6.51 |
| MervinPraison | praisonai-platform | < 0.1.6 |
Weakness: CWE-798, CWE-1188 · Vector: 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-cwj8-7gp2-ggcw x_refsource_CONFIRM
- https://github.com/MervinPraison/PraisonAI/pull/1793 x_refsource_MISC
- https://github.com/MervinPraison/PraisonAI/commit/e0fb8e7dd1ee6759c18ed07f436c21dbd9c20747 x_refsource_MISC
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.51 x_refsource_MISC
- https://www.youtube.com/watch?v=bDSRHAI28BY&list=RDhqGkrTbgU2c&index=8 exploit