All vulnerabilities

Servers and applications

CVE-2026-43911

Refresh tokens not invalidated on security stamp rotation

Severity
High 8.1
Published
25 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.35.5
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Insufficient session expiration (CWE-613)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-6j4w-g4jh-xjfx
Sources
NVD, Project advisories (GitHub)

Description

Refresh tokens are not invalidated when the user's security_stamp is rotated by some security-sensitive operations (password change, KDF change, key rotation, email change, org admin password reset, emergency access takeover). This allows an attacker holding a previously obtained refresh token to maintain session access even after the user has taken action to secure their account.

When a client makes an API request with an access token, Headers::from_request in src/auth.rs (line ~626) checks that the sstamp claim embedded in the JWT matches the user's current security_stamp in the database. If they don't match, the request is rejected (unless a temporary stamp exception applies). This correctly invalidates access tokens after stamp rotation.

The refresh token flow (refresh_tokens in src/auth.rs, line ~1205) works as follows:

The RefreshJwtClaims struct does not contain a security_stamp field:

From dani-garcia/vaultwarden's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
VaultwardenServers and applications · cpe:a:dani-garcia:vaultwarden
  • Every version before 1.35.5
VaultwardenServers and applications · github:dani-garcia/vaultwarden
  • Every version before 1.35.5

About Vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

From its GitHub repository.
Docker Hub pulls
361,463,423Docker Hub, 15 Nov 2026
GitHub stars
70,745GitHub, 15 Nov 2026
Forks
3,457GitHub, 15 Nov 2026
Latest release
1.37.5GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
17 Feb 2018GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-43911
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-43911
  • GitHub Advisory Database https://github.com/advisories/GHSA-6j4w-g4jh-xjfx
  • github.com https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-6j4w-g4jh-xjfx