CVE-2026-22706
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedStrapi is an open source headless content management system. 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 in version 5.33.3 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn Strapi versions before 5.33.3, the refresh-token invalidation logic during password changes and resets required a caller-supplied deviceId. When no deviceId was provided, no refresh tokens were revoked, leaving all prior sessions active. An attacker with a previously stolen refresh token could continue generating access tokens for up to 30 days after the legitimate user reset their password, defeating password reset as a security control.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 5.33.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Strapi versionRun 'npm list @strapi/strapi' or check package.json to determine the exact Strapi version installed in your environmentAffected if The installed version is lower than 5.33.3 (e.g., 5.0.0 through 5.33.2)
-
Verify refresh token configurationCheck your Strapi configuration files (typically config/plugins.js or .env) for authentication settings related to refresh tokens, particularly the token expiration durationAffected if Refresh tokens are enabled with a long expiration (up to 30 days as mentioned in the CVE description) and the configuration does not enforce deviceId-based invalidation
-
Review token invalidation logicExamine the source code for password change and reset endpoints (typically in /src/api/auth or similar controllers) to verify how refresh token invalidation is handled, specifically looking for whether deviceId is requiredAffected if The code shows that when deviceId is not provided in the password change/reset request, no refresh tokens are revoked (the vulnerability condition)
-
Test password reset behaviorCreate a test scenario: obtain a valid refresh token, perform a password change/reset without specifying a deviceId, then attempt to use the original refresh token to obtain a new access tokenAffected if The original refresh token still works after the password change, confirming no invalidation occurred
You are affected if your Strapi version is below 5.33.3 and refresh tokens remain valid after a password change or reset when no deviceId is explicitly provided.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.33.3
Upgrade to Strapi version 5.33.3 or later, which invalidates all user refresh tokens on every password change or reset regardless of deviceId.
Strapi 5.33.3
- Upgrade Strapi to version 5.33.3 or later by updating the Strapi dependency in your package.json file
- Run `npm install` or `yarn install` to install the updated version
- Restart your Strapi application to load the patched version
- Verify the upgrade was successful by checking the Strapi version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-22706 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-22706 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data