6.3medium
Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration
- Severity
- 6.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| strapi strapi | before 5.7.0 | CVE List, NVD |
All scores
| VulnCheck | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin de usuarios-permisos de Strapi falla al restringir los algoritmos JWT cuando plugin::users-permissions.jwt.algorithm no está configurado explícitamente, permitiendo la aceptación de tokens HS384 y HS512 junto con HS256. Atacantes que poseen el jwtSecret pueden acuñar tokens con variantes HMAC no estándar para eludir las restricciones de algoritmo y debilitar los controles de autenticación.
References
| https://github.com/strapi/strapi/issues/26587 | issue-tracking | |
| https://github.com/strapi/strapi/pull/26752 | issue-tracking, patch | |
| https://github.com/strapi/strapi | product | |
| https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-57997 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-57997 changed 2026-10-25 | Public domain |