CVE-2026-57147 PUBLISHED

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

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 15.09.2026 Updated: 15.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor MervinPraison
Product PraisonAI
Versions
  • Version < 4.6.51 is affected
Vendor MervinPraison
Product praisonai-platform
Versions
  • Version < 0.1.6 is affected

References

Problem Types

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