GHSA-7hgr-xvrr-xpw3
Medium · 5.4nhost has Session Persistence After Password Change
CVSS
5.4
EPSS
—
Published
May 8, 2026
CISA due date
—
The record
When a user changes their password, either through the authenticated password change endpoint or a password reset ticket, the [`ChangePassword`](https://github.com/nhost/nhost/blob/main/services/auth/go/controller/workflows.go#L731-L759) workflow correctly hashes and persists the new password via [`UpdateUserChangePassword`](https://github.com/nhost/nhost/blob/main/services/auth/go/sql/query.sql#L314-L318). However, it does not revoke existing sessions. The `auth.refresh_tokens` and `auth.oauth2_refresh_tokens` tables are left untouched, meaning all previously issued refresh tokens remain valid and can continue generating new access tokens indefinitely. This vulnerability affects all password change paths (handled in [`change_user_password.go`](https://github.com/nhost/nhost/blob/main/services/auth/go/controller/change_user_password.go)), since they share the same underlying workflow: - Authenticated password change via the Nhost dashboard or client SDK - Ticket-based password reset (magic links / recovery flows) - OAuth2/OIDC sessions managed via `auth.oauth2_refresh_tokens`
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-55250 Maravel, a PHP framework oriented towards dependency injection, prior to version 10.74.0… CWE-613
- CVE-2026-86215 A vulnerability was identified in Mstfakts College-Management-System. CWE-613
- CVE-2026-55513 nebula-mesh is a self-hosted control plane for Slack Nebula mesh VPN. CWE-613
- CVE-2026-61608 SolidInvoice is an open-source invoicing platform. CWE-613
- CVE-2026-84480 WWBN AVideo fails to validate password recovery token expiration in… CWE-613
- CVE-2026-84203 Memos versions 0.26.0 through 0.30.0 fail to revoke refresh tokens when a user changes… CWE-613
- CVE-2026-82909 A vulnerability was determined in QuantumNous new-api up to 1.0.0-rc.15. CWE-613
- CVE-2026-82469 Rodauth before 2.47.0 contains an authentication bypass vulnerability in the jwt_refresh… CWE-613