---
id: "CVE-2026-126287"
page: "https://infrastack.ai/live/CVE-2026-126287"
kind: "vulnerability"
aliases: ["CVE-2026-126287"]
title: "NocoDB: race condition lets a captured refresh token be reused"
severity: "medium"
cvss: 6.0
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["nocodb", "oauth", "other", "self-hosted"]
not_affected_if: ["no-oauth-clients", "nocodb-2026.06.2-or-later"]
published_at: "2026-11-13T10:17:32+00:00"
first_seen_at: "2026-11-13T10:47:13+00:00"
updated_at: "2026-11-13T10:56:43+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126287", "first_seen_at": "2026-11-13T10:47:13+00:00"}]
exploit_sources: []
---

# NocoDB: race condition lets a captured refresh token be reused

Link for people: https://infrastack.ai/live/CVE-2026-126287 (this .md is for agents)

NocoDB before 2026.06.2 has a race condition in its OAuth token service, where a refresh token can be presented concurrently during non-atomic rotation. An attacker holding a captured refresh token can obtain their own access and refresh tokens and keep scoped access without triggering reuse detection.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed NocoDB version against the fixed release `2026.06.2`
- Review whether OAuth login is enabled on the NocoDB instance

## Fix

- NocoDB: move to `2026.06.2` or later

## Timeline

- 2026-11-13T10:47:13+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126287

## Documents

- [advisory] Vendor advisory: github.com https://github.com/nocodb/nocodb/security/advisories/GHSA-353r-pj87-54hc
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nocodb-before-2026.06.2-oauth-refresh-token-rotation-race-condition

## From the sources

NocoDB before 2026.06.2 contains a race condition vulnerability in oauth-token.service.ts that allows attackers to reuse a refresh token by presenting it concurrently during non-atomic rotation. Attackers holding a captured refresh token can race the legitimate client to obtain their own access and refresh tokens, retaining scoped access without triggering reuse detection.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
