CVE-2026-57997
MEDIUMStrapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Issue Tracking issue-tracking
https://github.com/strapi/strapi/issues/26587
Product product
https://github.com/strapi/strapi
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration
Patch issue-tracking
https://github.com/strapi/strapi/pull/26752
Scores
CVSS v3
4.8
EPSS
0.0015
EPSS Percentile
4.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-327
Status
published
Products (1)
strapi/strapi
< 5.7.0 (2 CPE variants)
Published
Jun 29, 2026
Tracked Since
Jun 30, 2026