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
| Link | Resource |
|---|---|
| https://github.com/strapi/strapi | Product |
| https://github.com/strapi/strapi/issues/26587 | Issue Tracking |
| https://github.com/strapi/strapi/pull/26752 | Issue Tracking Patch |
| https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration | Patch Third Party Advisory |
Configurations
History
30 Jun 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* | |
| First Time |
Strapi
Strapi strapi |
|
| References | () https://github.com/strapi/strapi - Product | |
| References | () https://github.com/strapi/strapi/issues/26587 - Issue Tracking | |
| References | () https://github.com/strapi/strapi/pull/26752 - Issue Tracking, Patch | |
| References | () https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration - Patch, Third Party Advisory |
29 Jun 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-29 22:16
Updated : 2026-07-01 15:17
NVD link : CVE-2026-57997
Mitre link : CVE-2026-57997
CVE.ORG link : CVE-2026-57997
JSON object : View
Products Affected
strapi
- strapi
CWE
CWE-327
Use of a Broken or Risky Cryptographic Algorithm
