CVE-2026-57147

praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery

State
Published
Severity
9.8 Critical
Published
Sep 15, 2026
Updated
Sep 17, 2026
Reserved
Jun 24, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-798 Use of Hard-coded Credentials
  • CWE-1188 Insecure Default Initialization of Resource

Affected Products

ProductVersions
PraisonAIMervinPraison
  • < 4.6.51Affected
praisonai-platformMervinPraison
  • < 0.1.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.