Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

NocoDB Formula SQL Injection (CVE-2026-130706)

CVE-2026-130706 is a critical SQL injection flaw in NocoDB's formula query builder.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-130706
Vendor
NocoDB
Affected Product
NocoDB
Exploitation
Not confirmed
Published
2026-11-18

CVE-2026-130706 is a critical SQL injection flaw in NocoDB's formula query builder. NocoDB says a base Creator or Owner can persist a crafted formula tree that the builder later trusts without revalidation. The resulting SQL can cross from base-level access to instance-wide authority or affect an external database host, depending on the deployment.NocoDB published GHSA-frqc-xh5h-rrcw on 2 November 2026. The GHSA still displays ‘No known CVE,’ while the VulnCheck CNA assigned CVE-2026-130706 on 18 November and cites that advisory. The two records give conflicting affected-version boundaries, which this profile keeps separate.

What it allows

How Does CVE-2026-130706 Cross the Permission Boundary?

Formula creation checks function names against an allow-list, but NocoDB's builder reused a stored parsed tree without repeating that check. It inserted a stored function name into raw SQL. A Creator or Owner able to persist a tree outside the normal validation path could therefore influence the query built later.

NocoDB says its SQLite metadata path guard compared normalized path strings instead of the actual filesystem target. An alternate path to the metadata database could pass that guard. The advisory says this let the attacker store the tree and alter account records; these details explain the trust boundary, not a reproduction procedure.

On a default single-container deployment using SQLite metadata, NocoDB says the chain can disclose user records, password hashes, API tokens and stored data-source credentials. It can also promote the attacker's account to instance super administrator. On an external PostgreSQL source, operating-system command execution requires a database role permitted to run server programs.

Where a managed PostgreSQL service forbids program execution, NocoDB limits the external-source impact to reading and changing connected database data. This conditional outcome matters when triaging a base with external sources. The Vulnerability Intelligence platform can help place affected deployments in the patch queue.

What Should Defenders Review?

Identify instances with Creator or Owner accounts and distinguish SQLite metadata installations from bases connected to external PostgreSQL. For a defensive investigation, review unexpected formula changes, source creation, metadata access and account role changes. Check database audit records for unusual activity where available.

Those review leads are our interpretation of the advisory's described chain, not vendor-published detection signatures. They cannot alone prove exploitation of CVE-2026-130706. For a different NocoDB authorization issue, see the CVE-2026-130712 cross-base access profile.

Who is affected

Which NocoDB Versions Need Attention for CVE-2026-130706?

NocoDB's GHSA lists releases before 2026.10.0 as affected and 2026.10.0 as patched. The later VulnCheck CNA record instead lists releases before 2026.09.0 as affected and marks 2026.09.0 unaffected. Neither source resolves why the boundaries differ, so the status of 2026.09.x is disputed.

For a conservative patch decision, use NocoDB's vendor-confirmed fixed release, 2026.10.0 or later. Record the active version on each instance and verify it after restart. The conflicting records make a simple machine-readable version verdict for 2026.09.x unreliable; validate that branch directly with NocoDB if it cannot yet be upgraded.

The described attack requires an authenticated Creator or Owner on a base. SQLite metadata deployments face instance-level account and secret exposure; external PostgreSQL impact depends on the connected database role. The patch management process should record both the rollout and the running-version check.

Timeline

  1. 2026-11-02

    NocoDB published GHSA-frqc-xh5h-rrcw, describing the formula-tree flaw and listing 2026.10.0 as patched.

  2. 2026-11-18

    The VulnCheck CNA published CVE-2026-130706, listing a different affected-version boundary at 2026.09.0.

What to do

  1. Inventory NocoDB versions and roles

    Find each running NocoDB instance and record its version, Creator and Owner accounts, metadata backend, and external PostgreSQL sources.

  2. Upgrade to the vendor-confirmed fix

    Upgrade affected or uncertain instances to NocoDB 2026.10.0 or later. Prioritize shared installations with Creator or Owner access and sensitive stored credentials.

  3. Verify the running release

    After restart, confirm every active instance reports 2026.10.0 or later. Record deployment evidence; do not rely on a package file alone.

  4. Investigate abnormal changes

    Review unexpected formula edits, source creation, metadata access, account role changes and database audit activity. Treat anomalies as investigation leads, not proof of this CVE.

  5. Handle the version discrepancy

    If an instance remains on 2026.09.x, ask NocoDB to confirm its status for this flaw. The GHSA and CNA records disagree about that branch.

What Brandefense can do

Frequently Asked Questions

Can CVE-2026-130706 be used without a NocoDB account?

NocoDB says the described chain requires an authenticated Creator or Owner on a base. It is not presented as an unauthenticated flaw.

Does this flaw always allow operating-system commands?

No. NocoDB ties that outcome to an external PostgreSQL role permitted to run server programs. Managed PostgreSQL that forbids this limits the external-source case to database access.

Is NocoDB 2026.09.x patched?

The sources conflict. The VulnCheck CNA marks 2026.09.0 unaffected, while NocoDB's GHSA lists versions before 2026.10.0 as affected. Use 2026.10.0 or later for a vendor-confirmed fix.

Why does the NocoDB advisory say ‘No known CVE’?

The GHSA was published on 2 November 2026. The VulnCheck CNA later assigned CVE-2026-130706 on 18 November and cites the same GHSA.

Sources

  1. Remote Code Execution via Formula Parsed Tree SQL InjectionNocoDB
  2. CVE-2026-130706 RecordVulnCheck CNA via CVE Program
  3. Known Exploited Vulnerabilities CatalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →