Summary
CVE-2026-57147 is a critical authentication bypass vulnerability in the praisonai-platform package (the backend platform component of the PraisonAI multi-agent framework). The platform’s authentication service ships with a hardcoded default JWT signing secret, "dev-secret-change-me", which is used to both sign and verify Bearer tokens. Because the safeguard meant to block this default in production only activates under a condition that most real-world deployments never trigger, an unauthenticated remote attacker can forge valid JWTs and impersonate any user, including workspace owners and administrators — earning this issue a maximum-severity CVSS score of 9.8.
Technical details
- Root cause:
praisonai_platform/services/auth_service.pydefines a static, publicly known fallback secret ("dev-secret-change-me") used for HMAC-SHA256 JWT signing and verification whenPLATFORM_JWT_SECRETis not explicitly configured. - Flawed guard logic: A check exists intended to reject the default secret in production, but it only fires when
PLATFORM_ENVis explicitly set to a value other than"dev". SincePLATFORM_ENVitself defaults to"dev"when left unset, deployments that configure neither variable silently remain in the vulnerable state. - Trigger conditions: Any deployment of
praisonai-platformthat does not explicitly setPLATFORM_JWT_SECRET(and, due to the guard flaw, also does not explicitly setPLATFORM_ENV) runs with the known default signing key active. - Attack vector: Network, no authentication or user interaction required. An attacker who knows the public default secret can craft a JWT with arbitrary
sub/email/role claims and present it as a valid Bearer token to any API route protected by the platform’s authentication middleware. - Impact: Full authentication bypass and account takeover — attackers can impersonate any existing user, including administrators, gaining unauthorized access to workspace management, project handling, and user access-control functions. All three impact categories (confidentiality, integrity, availability) are rated High.
Affected software
praisonai-platform(PyPI package) — versions ≤ 0.1.4
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade
praisonai-platformto version 0.1.5 or later, where the insecure default-initialization logic has been corrected. - If immediate patching is not possible:
- Explicitly set a strong, unique, randomly generated value for the
PLATFORM_JWT_SECRETenvironment variable in every deployment — never rely on the built-in default. - Explicitly set
PLATFORM_ENVto a non-development value (e.g.,production) in production deployments to avoid unintentionally falling back to development behavior. - Restrict network exposure of the platform’s API endpoints to trusted networks until the environment variables above are verified as correctly configured.
- After remediation, rotate any tokens/sessions issued under the default secret, as they should be considered compromised.
- Explicitly set a strong, unique, randomly generated value for the

