{"id":"CVE-2026-57997","aliases":["CVE-2026-57997"],"related":[],"kind":"vulnerability","state":"published","title":"Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-29T21:16:35.174Z","modified":"2026-11-08T14:06:43.253Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-327"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.7.0","status":"affected"}],"vendor":"strapi","product":"strapi","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.7.0"}],"vendor":"strapi","product":"strapi","cpe":"cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/strapi/strapi/issues/26587","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/strapi/strapi/pull/26752","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/strapi/strapi","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["BL4CK570RM"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-01T14:24:53.643Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57997","url":"https://www.cve.org/CVERecord?id=CVE-2026-57997","licence":"CVE Terms of Use","modified":"2026-11-08T14:06:43.253Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57997","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57997","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"}],"updatedAt":"2026-11-25T22:59:26.664Z","epss":{"score":0.00249,"percentile":0.09778,"date":"2026-11-30T12:00:22.000Z"}}