CVE-2026-57997
JSON

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 packageVersionsReported by
strapi strapibefore 5.7.0CVE List, NVD

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-327

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

Sources

SourceRecordLicence
CVE ListCVE-2026-57997 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-57997 changed 2026-10-25Public domain