Medium

NocoDB has Prototype Pollution in Connection Test Endpoint, Leading to DoS

  • Disclosed: 28.01.2026
  • Updated: 11.10.2026 10:22

Summary

An authenticated user with org-level-creator permissions can exploit prototype pollution in the /api/v2/meta/connection/test endpoint, causing all database write operations to fail application-wide until server restart.

While the pollution technically bypasses SUPER_ADMIN authorization checks, no practical privileged actions can be performed because database operations fail immediately after pollution.

Details

The deepMerge() function in packages/nocodb/src/utils/dataUtils.ts does not sanitize the following keys: (__proto__, constructor, prototype):

ts
export const deepMerge = (target: any, ...sources: any[]) => {
  // ...
  Object.keys(source).forEach((key) => {
    if (isMergeableObject(source[key])) {
      if (!target[key]) target[key] = Array.isArray(source[key]) ? [] : {};
      deepMerge(target[key], source[key]);  // Recursively merges __proto__
    } else {
      target[key] = source[key];
    }
  });
  // ...
};

The testConnection endpoint (packages/nocodb/src/controllers/utils.controller.ts) passes user-controlled input directly to deepMerge():

ts
config = await integration.getConfig();
deepMerge(config, body);

When an attacker sends {"__proto__": {"super": true}}, the super property is written to Object.prototype, affecting all plain objects in the Node.js process.

Impact

Pollutes Object.prototype globally, breaking all subsequent database write operations for all users until process restart.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package nocodb < 0.301.0 0.301.0

References

CVSS score 4.9/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-1321
Platform
npm
Package
nocodb
Disclosed
28.01.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-95ff-46g6-6gw9 - CC BY 4.0

Vulnerability history: nocodb

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (54) in the archive
Total entries
54
First → latest
06.2022 06.2026
Without a fix
13
Exploited in attacks
0

Severity breakdown

  • High 7
  • Medium 41
  • Low 6

Disclosures per year

  1. 2022: 5
  2. 2023: 2
  3. 2024: 3
  4. 2025: 1
  5. 2026: 43
Severity:
  1. High CVE-2026-47387 < 2026.05.1 2026.05.1
  2. High CVE-2026-47383 < 2026.05.1 2026.05.1
  3. NocoDB has Prototype Pollution in Connection Test Endpoint, Leading to DoS this entry
    Medium · 4.9 CVE-2026-24766 < 0.301.0 0.301.0
  4. High · 7.3 CVE-2023-49781 < 0.202.9 0.202.9
  5. High · 8.8 CVE-2022-2064 < 0.91.9 0.91.9
  6. High · 8.8 CVE-2022-2063 < 0.91.8 0.91.8
  7. High · 7.5 CVE-2022-2062 < 0.91.7 0.91.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.