nocodb/nocodb · Security
NocoDB's Refresh Tokens Not Revoked on Password Reset
- GHSA ID
- GHSA-x4vh-j75g-268g
- CVE ID
- CVE-2026-28396
- Severity
- medium
- Published
- Updated
- CVSS v4
- 4.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Description
Summary
The password reset flow did not revoke existing refresh tokens, allowing an attacker with a previously stolen refresh token to continue minting valid JWTs after the victim resets their password.
Details
passwordReset() in users.service.ts updated token_version (invalidating JWTs) but did not call UserRefreshToken.deleteAllUserToken(). The refreshToken() method only checked token existence, not token_version. Both passwordChange() and signOut() correctly deleted all refresh tokens.
Impact
An attacker who previously obtained a refresh token retains access after password reset until the token expires.
Credit
This issue was reported by @bugbunny-research (bugbunny.ai).
CWEs
- CWE-613 · Insufficient Session Expiration
References
- https://github.com/nocodb/nocodb/security/advisories/GHSA-x4vh-j75g-268g ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-28396 ↗
- https://github.com/nocodb/nocodb/releases/tag/0.301.3 ↗
- https://github.com/nocodb/nocodb/commit/dfbe836577354ba780563a5cf8cb50bfc61a203e ↗
- https://github.com/advisories/GHSA-x4vh-j75g-268g ↗