CVE Catalog

CVE-2026-57147

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

In PraisonAI prior to 0.1.6, when PLATFORM_JWT_SECRET is unset, JWT_SECRET is assigned the public dev-secret-change-me value, and its production guard does not run when PLATFORM_ENV is also unset (defaults to dev). A remote unauthenticated attacker can mint an HS256 token with arbitrary sub and email, which is accepted by AuthService._verify_token() and get_current_user for protected API routes.

Risk Assessment

An attacker can gain access to protected APIs by forging an identity, leading to unauthorized access to data and functions.

Recommendation

Update praisonai-platform to version 0.1.6 or set a secure PLATFORM_JWT_SECRET and PLATFORM_ENV.

Other vulnerabilities in PraisonAI

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS