Skip to main content

NocoDB CVE-2026-53928

| EUVDEUVD-2026-38608 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-06-17 https://github.com/nocodb/nocodb GHSA-r989-7g3j-wjhw
6.3
CVSS 4.0 · Vendor: https://github.com/nocodb/nocodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Capture victim refresh token via cookie theft or XSS
  2. Delivery
    Victim detects intrusion and initiates Forgot Password flow
  3. Exploit
    Password reset completes without purging refresh token table
  4. Execution
    Attacker exchanges stolen refresh cookie for fresh JWT
  5. Impact
    Retain 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 passwordChange or passwordReset, both of which correctly call UserRefreshToken.deleteAllUserToken and would properly invalidate the attacker's session. The vulnerability is scoped exclusively to the passwordForgot code path. Exploitation is further limited to NocoDB instances running versions at or below 0.301.3. This vulnerability cannot be used for initial account compromise - it only preserves an attacker's foothold after a token has already been stolen through an independent means.

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 passwordForgot flow - placing this in a moderate-to-high complexity tier rather than trivially exploitable. The vulnerability does not enable initial compromise; it exclusively extends an existing attacker foothold past a recovery event the victim believes has revoked all sessions. This creates a severe trust gap: the victim follows documented security guidance yet remains compromised. No EPSS data was provided, and the vulnerability is absent from CISA KEV, indicating no confirmed widespread active exploitation at time of analysis. Despite the absence of public exploits, the semantic impact is significant for targeted attacks where an attacker has already obtained a session token and wishes to survive detection-and-recovery responses.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nocodb < 2026.05.1

Affected Packages

npm nocodb fix: 2026.05.1

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

Vendor (https://github.com/nocodb/nocodb) PRIMARY 6.3 MEDIUM
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/nocodb/nocodb).

CVSS VectorVendor: https://github.com/nocodb/nocodb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jun 23, 2026 - 23:02 EUVD
CVSS changed
Jun 23, 2026 - 21:22 NVD
6.3 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.2%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy