SecurityContext

CVE-2026-57997: Strapi users-permissions - Authentication Bypass

  • Cve: CVE-2026-57997
  • Name: Strapi users-permissions - Authentication Bypass
  • 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.
  • Impact: Attackers with jwtSecret can bypass authentication controls, potentially gaining unauthorized access.
  • Remediation: Configure plugin::users-permissions.jwt.algorithm explicitly or update to the latest version with proper algorithm restrictions.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: logged_in
  • Requirements: Attacker must possess the jwtSecret key
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00249
  • Epss percentile: 0.16336
  • Assignee: [email protected]
  • Published at: 2026-06-29T22:16:49Z
  • Age in days: 148
  • Modified at: 2026-10-25T21:10:00Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57997
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-327Use of a Broken or Risky Cryptographic Algorithm

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/strapi/strapi/pull/26752Issue Tracking, Patch
https://www.vulncheck.com/advisories/strapi-users-permissions-jwt-algorithm-confusion-via-missing-algorithm-configurationPatch, Third Party Advisory
https://github.com/strapi/strapi/issues/26587Issue Tracking
https://github.com/strapi/strapiProduct

Products

ProductAffectedPlatform boundSourcesUrl
strapi:strapi< 5.7.0nonvd/v1/products/strapi/strapi

Projects

RepositoryLink kindsIndexedUrl
strapi/strapifix, issues, pullyes/v1/repositories/strapi/strapi

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 27642
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports