praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery (MervinPraison PraisonAI)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.77 % · percentile 56 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-798 — Use of Hard-coded Credentials
- CWE-1188 — Initialization of a Resource with an Insecure Default
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-cwj8-7gp2-ggcw
- 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://www.youtube.com/watch?v=bDSRHAI28BY&list=RDhqGkrTbgU2c&index=8
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-cwj8-7gp2-ggcw — praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery
- PYSEC-2026-3524 — praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery
European references
- ENISA EUVD · EUVD-2026-78397
- GCVE · GCVE-0-2026-57147
Affected products
| Product | Versions |
|---|---|
| MervinPraison · PraisonAI | affected < 4.6.51 |
| MervinPraison · praisonai-platform | affected < 0.1.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |