CVE-2026-57997

published 29 Jun 2026 · updated 8 Nov 2026

Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Strapi 5.7.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
StrapiStrapi<5.7.05.7.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Strapi, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57997 severity on Zeptric[![CVE-2026-57997](https://zeptric.io/badge/cve/CVE-2026-57997.svg)](https://zeptric.io/cve/CVE-2026-57997)