CVE-2026-130712: NocoDB before 2026.08.1 contains an authorization bypass vulnerability (NVD Published: 2026-11-19)


This article published on 23rd Nov 2026

Preface: AI install enterprise DB to store the data for their LLM. But AI applications and agents utilize NocoDB as a data source or operational backend. However, this is generally not for “training” foundational Large Language Models (LLMs); rather, it is used for real-time querying, writing structured business data, and supporting workflows and agent operations.

Background: As organizations increasingly connect AI agents and automation workflows (such as Claude, Cursor, and n8n) to structured operational databases via Model Context Protocol (MCP) and REST APIs, securing the underlying data backend is critical. CVE-2026-130712 is an authorization bypass vulnerability affecting NocoDB versions prior to 2026.08.1.

Vulnerability details: NocoDB before 2026.08.1 contains an authorization bypass vulnerability that allows authenticated Creators to access another tenant’s external database by reusing a victim source id when adding a source. Because NcConnectionMgrv2 caches connections by bare source id, attackers can reflect the victim’s cached database schema and read, update, and insert records through their own base models.

Root Cause & Impact: In affected versions, NocoDB’s connection manager (NcConnectionMgrv2) cached live external database connections (XKnex instances) using only a bare source.id rather than scoping the cache key to the owning tenant or base. Because source IDs are unique per base rather than instance-wide, an authenticated user with Creator privileges could add a data source using a victim’s source.id and inherit the victim’s already-authenticated database connection pool. This allowed unauthorized cross-tenant schema reflection as well as reading, updating, and inserting records into another tenant’s external SQL database.

Remediation: The NocoDB team resolved the flaw in version 2026.08.1 by introducing a composite connectionKey(source) helper (${source.base_id}:${source.id}). By strictly isolating both in-memory LRU connection pools and Redis version-tracking keys by base_id, NocoDB ensures tenants can never retrieve or reuse another base’s active database session. Organizations self-hosting NocoDB—especially multi-tenant deployments or environments exposed to AI agents—should upgrade to 2026.08.1 or later immediately.

Official announcement: Please refer to the link for details – https://www.tenable.com/cve/CVE-2026-130712

,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.