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

Published Sep 15, 2026
·
Updated

PraisonAI is a multi-agent teams system. Prior to 0.1.6, praisonaiplatform/services/authservice.py assigns the public dev-secret-change-me value to JWTSECRET when PLATFORMJWTSECRET is unset, and its production guard does not run when PLATFORMENV 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.verifytoken() and getcurrentuser dependency accept the forged identity for protected API routes. This vulnerability is fixed in praisonai-platform 0.1.6.

Affected Software

1 affected component
PraisonAI PraisonAI praisonai-platform<0.1.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade praisonai-platform to a version that resolves this vulnerability.

    Fixed in 0.1.6
  2. Configuration

    Ensure PLATFORM_JWT_SECRET is explicitly set so JWT_SECRET does not fall back to the default 'dev-secret-change-me' used prior to 0.1.6.

    praisonai-platform AuthService PLATFORM_JWT_SECRET = set to a strong non-default secret (do not leave unset)
  3. Configuration

    Ensure PLATFORM_ENV is explicitly set so the production guard runs (prior to 0.1.6, the guard did not run when PLATFORM_ENV was also unset and defaulted to dev).

    praisonai-platform AuthService PLATFORM_ENV = set to a non-dev (production-like) environment value

Event History

Sep 15, 2026
CVE Published
via MITRE·10:34 AM
Data Sourced
via MITRE·10:34 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

PraisonAI-platform versions prior to 0.1.6 are exposed when PLATFORM_JWT_SECRET is unset. If PLATFORM_ENV is also unset, it defaults to dev, so the production guard does not run and the public fallback secret is used.

2

Does exploitation require an account or user interaction?

No. A remote attacker does not need authentication or user interaction; they can create an HS256 JWT containing arbitrary sub and email claims.

3

What access can a forged token obtain?

The AuthService token verification and get_current_user dependency accept the forged identity for protected API routes. This can allow the attacker to authenticate as an arbitrary identity presented in the token.

4

What should be done if an immediate upgrade is not possible?

Set PLATFORM_JWT_SECRET to a non-public secret rather than leaving it unset. Upgrade to praisonai-platform 0.1.6 when possible.

5

How can I determine whether an instance is affected?

Check whether the deployment runs a version earlier than 0.1.6 and whether PLATFORM_JWT_SECRET is unset. Also check whether PLATFORM_ENV is unset, since it then defaults to dev and bypasses the production guard.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203