CVE-2026-57997: Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

Published Jun 29, 2026
·
Updated

Strapi users-permissions plugin fails to restrict JWT algorithms when plugin::users-permissions.jwt.algorithm is not explicitly configured, allowing acceptance of HS384 and HS512 tokens alongside HS256. Attackers possessing the jwtSecret can mint tokens with non-standard HMAC variants to bypass algorithm restrictions and weaken authentication controls.

Affected Software

2 affected components
Strapi users-permissions plugin
Strapi Strapi Node.js<5.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Explicitly configure plugin::users-permissions.jwt.algorithm to HS256 so the plugin restricts accepted JWT HMAC algorithms and does not accept HS384/HS512 when the setting is missing.

    Strapi users-permissions plugin plugin::users-permissions.jwt.algorithm = HS256

Event History

Jun 29, 2026
CVE Published
via MITRE·09:16 PM
Data Sourced
via MITRE·09:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-57997?

CVE-2026-57997 has a medium severity rating of 4.8.

2

How do I fix CVE-2026-57997?

To fix CVE-2026-57997, you need to explicitly configure the jwt.algorithm setting in the Strapi users-permissions plugin.

3

What are the risks associated with CVE-2026-57997?

The risks with CVE-2026-57997 include unauthorized access through the acceptance of non-standard HMAC JWTs if the jwtSecret is compromised.

4

Which software is affected by CVE-2026-57997?

CVE-2026-57997 affects the Strapi users-permissions plugin.

5

When was CVE-2026-57997 published?

CVE-2026-57997 was published on June 29, 2026.

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