# CVE-2026-57997: Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration

> CVE-2026-57997: Strapi users-permissions - JWT Algorithm Confusion via Missing Algorithm Configuration. CVSS 4.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-57997
Last updated: 2026-10-25T21:10:00Z

- Published: 2026-06-29 21:16 UTC · Updated: 2026-10-25 21:10 UTC · Assigner: VulnCheck
- CVSS: 4.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.25%, 16th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-327

## 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 vendors and products

- strapi: strapi

## Tracked companies

- [Strapi Cloud](https://rewindex.com/company/strapi-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-57997)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-57997)
- [https://github.com/strapi/strapi](https://github.com/strapi/strapi)
- [https://github.com/strapi/strapi/issues/26587](https://github.com/strapi/strapi/issues/26587)
- [https://github.com/strapi/strapi/pull/26752](https://github.com/strapi/strapi/pull/26752)
- [https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration](https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configuration)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-57997 · Markdown: https://rewindex.com/cve/CVE-2026-57997.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-57997 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:46.554Z
