Vulnerabilities in pkg:npm/@strapi/plugin-users-permissions

PACKAGE
Advisory Identifier: GHSA-hvp3-26wx-g2w4
Advisory Summary

CVE-2026-22706 is a LOW password reset does not revoke vulnerability (CWE-613: Insufficient Session Expiration) affecting Strapi libraries in the npm ecosystem. The issue involves password reset does not revoke existing refresh sessions. Remediation is available by upgrading affected packages to version 5.33.3.

8 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@strapi/plugin-users-permissions

8 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@strapi/plugin-users-permissions. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-hvp3-26wx-g2w4 CVE-2026-22706 LOW Strapi: Password Reset Does Not Revoke Existing Refresh Sessions
GHSA-7mqx-wwh4-f9fw CVE-2025-64526 MODERATE Strapi has a rate limit bypass on users-permissions plugin via attacker-controlled email keying
GHSA-wrvh-rcmr-9qfc CVE-2024-34065 HIGH @strapi/plugin-users-permissions leaks 3rd party authentication tokens and authentication bypass
GHSA-gc7p-j5xm-xxh2 CVE-2023-39345 HIGH Unauthorized Access to Private Fields in User Registration API
GHSA-24q2-59hm-rh9r CVE-2023-38507 HIGH Strapi Improper Rate Limiting vulnerability
GHSA-2h87-4q2w-v4hf CVE-2023-22621 CRITICAL Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
GHSA-583x-23h9-f5w7 CVE-2023-22893 MODERATE Strapi does not verify the access or ID tokens issued during the OAuth flow
GHSA-xv3q-jrmm-4fxv - HIGH Authentication Bypass in @strapi/plugin-users-permissions

CVE-2026-22706 at a Glance

CVE Identifier CVE-2026-22706
GHSA Identifier GHSA-hvp3-26wx-g2w4
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-613: Insufficient Session Expiration
Affected Product Strapi
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-22706

To remediate this vulnerability, upgrade all affected Strapi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@strapi/admin fixed: 5.33.3
npm install @strapi/admin@5.33.3
@strapi/plugin-users-permissions fixed: 5.33.3
npm install @strapi/plugin-users-permissions@5.33.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @strapi/admin

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-22706, inspect your project dependencies using npm:

npm ls @strapi/admin

Analyze the terminal output to locate any version of Strapi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.33.3), your application is affected.

Note: The npm ls @strapi/admin command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Strapi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary of CVE-2026-22706 Vulnerability Details - CVE: CVE-2026-22706 - CVSS v3.1 Vector: `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N` (2.1 — Low) - Affected Versions: `@strapi/admin` and `@strapi/plugin-users-permissions` <=5.33.2 - How to Patch: Immediately update your Strapi to >=5.33.3 ### Description of CVE-2026-22706 In Strapi versions prior to 5.33.3, changing or resetting a user's password did not invalidate the user's existing refresh-token sessions by default. The refresh-token invalidation step in the users-permissions and admin authentication controllers was conditional on a caller-supplied `deviceId`. When a password change or reset request did not include a `deviceId`, no refresh tokens were revoked, leaving every prior session active. An attacker who had previously obtained a refresh token could continue minting new access tokens after the legitimate user reset their password, allowing persistent unauthorized access for the lifetime of the refresh token (up to 30 days by default). Rotating credentials no longer terminated an active attacker session, defeating password reset as a containment measure. The patch invalidates all refresh tokens associated with the user on every password change and password reset, regardless of whether a `deviceId` is supplied. A new device-scoped session is then issued to the caller as part of the response. ### IoC's for CVE-2026-22706 Indicators that an instance running an unpatched version may have been exploited: - Successful `POST /api/auth/refresh` or `POST /admin/access-token` requests using a refresh token issued before the user's most recent password change. Reviewable by correlating refresh-token `iat` claims against password-change events in audit logs - New access-token issuances for a user whose password was reset within the past 30 days, originating from an IP or User-Agent that did not perform the reset - Multiple active refresh tokens for a single user across distinct IPs after a password reset event - Database query: rows in `strapi_session` with `created_at` earlier than the user's most recent password-reset timestamp and `status = 'active'` ### References * OWASP ASVS 4.0 – V2.1.1: Session invalidation on credential change * OWASP Top 10 – A2: Broken Authentication ### Credits - bugbunny.ai - AndyAnh174 (concurrent report, 2026-04-09 — originally filed as GHSA-c6gj-8rxm-jrf2, closed as duplicate) - Aastha2602 (concurrent report, 2026-03-10 — originally filed as GHSA-5qvg-4jch-gvf4, closed as duplicate)

CVE-2026-22706 Affected Strapi Versions

2 component(s)
Fixed Versions:
5.33.3
Product / Package Ecosystem Affected Versions Fixed Version
@strapi/admin
npm
< 5.33.3
5.33.3
@strapi/plugin-users-permissions
npm
< 5.33.3
5.33.3

References

Frequently Asked Questions

What is CVE-2026-22706?
CVE-2026-22706 is a security vulnerability in Strapi involving Password Reset Does Not Revoke Existing Refresh Sessions under CWE-613: Insufficient Session Expiration.
Which Strapi versions are affected?
Affected versions include releases prior to 5.33.3 across affected packages: @strapi/admin, @strapi/plugin-users-permissions.
What version fixes CVE-2026-22706?
Upgrading to 5.33.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @strapi/admin affected?
Yes, @strapi/admin is affected in releases prior to 5.33.3. Upgrade your dependency to 5.33.3 or later.
Is @strapi/plugin-users-permissions affected?
Yes, @strapi/plugin-users-permissions is affected in releases prior to 5.33.3. Upgrade your dependency to 5.33.3 or later.
What CWE is associated with CVE-2026-22706?
CVE-2026-22706 is classified under CWE-613: Insufficient Session Expiration (According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.").
How can I check npm dependencies for CVE-2026-22706?
Run the dependency tree command: 'npm ls @strapi/admin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hvp3-26wx-g2w4",
  "modified" : "2026-05-15T23:44:29Z",
  "published" : "2026-05-13T20:02:42Z",
  "aliases" : [ "CVE-2026-22706" ],
  "summary" : "Strapi: Password Reset Does Not Revoke Existing Refresh Sessions",
  "details" : "### Summary of CVE-2026-22706 Vulnerability Details\n\n- CVE: CVE-2026-22706\n- CVSS v3.1 Vector: `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N` (2.1 — Low)\n- Affected Versions: `@strapi/admin` and `@strapi/plugin-users-permissions` <=5.33.2\n- How to Patch: Immediately update your Strapi to >=5.33.3\n\n### Description of CVE-2026-22706\n\nIn Strapi versions prior to 5.33.3, changing or resetting a user's password did not invalidate the user's existing refresh-token sessions by default. The refresh-token invalidation step in the users-permissions and admin authentication controllers was conditional on a caller-supplied `deviceId`. When a password change or reset request did not include a `deviceId`, no refresh tokens were revoked, leaving every prior session active.\n\nAn attacker who had previously obtained a refresh token could continue minting new access tokens after the legitimate user reset their password, allowing persistent unauthorized access for the lifetime of the refresh token (up to 30 days by default). Rotating credentials no longer terminated an active attacker session, defeating password reset as a containment measure.\n\nThe patch invalidates all refresh tokens associated with the user on every password change and password reset, regardless of whether a `deviceId` is supplied. A new device-scoped session is then issued to the caller as part of the response.\n\n### IoC's for CVE-2026-22706\n\nIndicators that an instance running an unpatched version may have been exploited:\n\n- Successful `POST /api/auth/refresh` or `POST /admin/access-token` requests using a refresh token issued before the user's most recent password change. Reviewable by correlating refresh-token `iat` claims against password-change events in audit logs\n- New access-token issuances for a user whose password was reset within the past 30 days, originating from an IP or User-Agent that did not perform the reset\n- Multiple active refresh tokens for a single user across distinct IPs after a password reset event\n- Database query: rows in `strapi_session` with `created_at` earlier than the user's most recent password-reset timestamp and `status = 'active'`\n\n### References\n\n* OWASP ASVS 4.0 – V2.1.1: Session invalidation on credential change\n* OWASP Top 10 – A2: Broken Authentication\n\n### Credits\n\n- bugbunny.ai\n- AndyAnh174 (concurrent report, 2026-04-09 — originally filed as GHSA-c6gj-8rxm-jrf2, closed as duplicate)\n- Aastha2602 (concurrent report, 2026-03-10 — originally filed as GHSA-5qvg-4jch-gvf4, closed as duplicate)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@strapi/admin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.33.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.33.2"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@strapi/plugin-users-permissions"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.33.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.33.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/strapi/strapi/security/advisories/GHSA-hvp3-26wx-g2w4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22706"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/strapi/strapi"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-613" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-13T20:02:42Z",
    "nvd_published_at" : "2026-05-14T19:16:30Z"
  }
}