Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture victim refresh token via cookie theft or XSS
-
DeliveryVictim detects intrusion and initiates Forgot Password flow
-
ExploitPassword reset completes without purging refresh token table
-
ExecutionAttacker exchanges stolen refresh cookie for fresh JWT
-
ImpactRetain persistent unauthorized account access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires two specific, sequential conditions: (1) the attacker must have previously obtained a valid NocoDB refresh token for the target user through any prior means such as cookie theft, cross-site scripting, physical device access, or network interception; and (2) the victim must specifically trigger the 'Forgot Password' recovery flow - not a direct |
| Impact | No CVSS vector was supplied in the advisory data, so all metric judgments are independently assessed from the description and CWE. Real-world exploitability depends on two sequential prerequisites - prior refresh token capture and the victim initiating the specific |
| Exploit ScenarioDerived | An attacker who previously captured a victim's NocoDB refresh token - via XSS, network interception, malware, or physical device access - waits for the victim to detect suspicious activity and initiate the 'Forgot Password' recovery flow. After the victim resets their password believing all sessions have been terminated, the attacker submits the stolen refresh cookie to NocoDB's token refresh endpoint, receives a valid new JWT, and maintains full account access. No public proof-of-concept code is known, but execution requires only standard authenticated HTTP requests to the token refresh API. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Refresh token persistence in NocoDB (npm/nocodb ≤ 0.301.3) allows an attacker who has captured a victim's refresh token to retain persistent account access even after the victim completes a 'Forgot Password' recovery flow. The passwordForgot code path omitted the UserRefreshToken.deleteAllUserToken(user.id) call present in both passwordChange and passwordReset, leaving the attacker's stolen refresh cookie valid and exchangeable for new JWTs indefinitely. No public exploit has been identified at time of analysis, and no vendor-released patch version is confirmed in the available advisory data.
RemediationAI
No vendor-released patch version has been confirmed - the GitHub Security Advisory GHSA-r989-7g3j-wjhw lists no fixed version as of the time of analysis. Operators should monitor https://github.com/nocodb/nocodb/releases and the advisory at https://github.com/nocodb/nocodb/security/advisories/GHSA-r989-7g3j-wjhw for a patched release and apply it immediately upon availability. As an interim compensating control, database administrators can manually purge UserRefreshToken table entries for any user who has initiated a 'Forgot Password' flow, forcing re-authentication; this requires direct database access and should be scripted carefully to avoid disrupting legitimate sessions. Reducing the configured refresh token TTL to a short window (e.g., hours rather than days) limits the persistence window at the trade-off of requiring more frequent re-authentication for all users. Monitoring for concurrent sessions from geographically or behaviorally anomalous sources may help detect exploitation attempts but will not prevent the vulnerability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NocoDB is an open-source no-code database platform distributed as an npm package (pkg:npm/nocodb). Its authentication model uses long-lived refresh tokens stored as HTTP cookies, which are exchanged for short-lived JWTs on each authenticated request. CWE-613 (Insufficient Session Expiration) describes the root cause class: failing to invalidate all active sessions upon a security-relevant credential change event. Three server-side functions handle password operations - passwordChange, passwordReset, and passwordForgot - of which only the first two correctly call UserRefreshToken.deleteAllUserToken(user.id) to purge all persisted refresh tokens for a given user. The passwordForgot path instead rotated only the internal token_version field and revoked linked OAuth tokens, which is insufficient to invalidate a directly captured refresh token stored in the UserRefreshToken table. This inconsistency between functionally related code paths is the precise technical root cause.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
AC:H because prior refresh-token capture is a prerequisite; UI:R because the victim must trigger the Forgot Password flow for the bypass to apply.
Primary rating from Vendor (https://github.com/nocodb/nocodb).
CVSS VectorVendor: https://github.com/nocodb/nocodb
Lifecycle Timeline
2DescriptionCVE.org
Summary
A stolen refresh token survived a password-forgot flow and could be used to mint fresh JWTs even after the user reset their password.
Details
passwordChange and passwordReset deleted the user's refresh tokens, but passwordForgot only rotated token_version and revoked OAuth tokens - it did not call UserRefreshToken.deleteAllUserToken(user.id). An attacker holding a captured refresh cookie could still exchange it for a new access token after the victim triggered the recovery flow.
Impact
Persistent unauthorized access after password recovery. Once a refresh token leaks, the documented "Forgot password" recovery flow did not in fact revoke the attacker's session.
Credit
This issue was reported by @bugbunny-research.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-38608
GHSA-r989-7g3j-wjhw
NVD
CVE.org
EPSS
Exploit-DB