Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Creator or Owner
-
DeliverySet zero-arg function as column default
-
ExploitInsert row triggers server-side execution
-
ExecutionRead stored result via record API
-
ImpactDisclose database server metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated NocoDB account holding the Creator or Owner base role (schema-edit permission); the Editor role and below cannot create or alter columns and therefore cannot exploit this. The affected base must use a PostgreSQL or MySQL data source. The injected payload must match the sanitiser's accepted shape - a bare word followed by empty parentheses - so only zero-argument database functions can be planted, which limits impact to metadata those functions return rather than arbitrary SQL. Execution occurs only when a row is inserted without an explicit value for the crafted column, and the result is retrieved through ordinary record reads. These factors (prior authenticated privileged role, Postgres/MySQL backend, zero-argument-only payloads) meaningfully limit realistic risk despite the network attack vector. |
| Impact | This is a genuine but moderate-priority issue, not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network reach with low complexity but requires privileges (PR:L) - specifically an authenticated Creator or Owner base role, which materially shrinks the attacker population to users who already have schema-edit rights on a base. The input provides no EPSS score and no KEV listing, and no verified public exploit code is referenced (only the vendor GHSA advisory), so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with a serious-but-not-urgent fix. The impact is one-dimensional: VC:H with VI:N/VA:N, i.e. confidentiality/disclosure only - and the disclosed data per the advisory is server reconnaissance metadata (engine version, database and role names, internal server addresses, start/transaction/process identifiers, replica state) rather than application table contents, because only zero-argument functions can be planted. I diverge from the input's VC:H in my own assessment below, judging the disclosure limited to metadata rather than high-sensitivity data; teams should treat this as a reconnaissance/info-leak flaw that aids follow-on attacks rather than a direct data-breach vector. |
| Exploit ScenarioDerived | An attacker who holds (or phishes/abuses) a Creator or Owner account on a NocoDB base backed by PostgreSQL or MySQL creates or alters a column and sets its default value to a bare zero-argument function such as version() or inet_server_addr(). When any row is inserted without an explicit value for that column, the database executes the function server-side and stores the result, which the attacker then reads back through the normal record API, disclosing server metadata. No public exploit identified at time of analysis; exploitation is straightforward given the required role but is bounded by that authentication requirement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
NocoDB before 2026.08.0 lets an authenticated user holding the Creator or Owner base role plant zero-argument database function calls (such as version(), current_user() or inet_server_addr()) as a column default value, which the application then emits verbatim into the generated PostgreSQL or MySQL column definition instead of binding it as a string literal. Whenever a row is later inserted into that column without an explicit value, the database executes the function and stores its output, which the attacker can simply read back through the ordinary record APIs - disclosing engine version, database and role names, internal server addresses, start timestamps, backend/transaction identifiers and replica state. The privilege prerequisite (schema-edit rights on the base), the requirement for a PostgreSQL or MySQL data source, and the restriction to bare-word-plus-empty-parentheses payloads materially cap the exposure; no public exploit code was identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV), placing it in a moderate-priority remediation window rather than an emergency.
RemediationAI
Upgrade NocoDB to 2026.08.0 or later, the exact version named as fixed in the vendor advisory GHSA-4w2w-wj9x-f4fv (https://github.com/nocodb/nocodb/security/advisories/GHSA-4w2w-wj9x-f4fv); this is the complete fix because the default-value sanitiser is corrected to stop emitting shape-matched values verbatim into column DDL. Where the upgrade cannot be applied immediately, the most effective compensating control is to reduce who can hold Creator or Owner base roles on instances backed by PostgreSQL or MySQL, since the Editor role and below cannot create or alter columns and thus cannot reach the injection point - the trade-off is that it removes legitimate schema-management capability from those users. Reviewing existing column definitions for zero-argument function defaults (for example version(), current_user(), current_database(), inet_server_addr(), pg_postmaster_start_time(), txid_current(), pg_backend_pid(), pg_is_in_recovery(), connection_id()) and replacing them with literal values will clear any planted payload, though it does not close the underlying code path. Restricting the database account used by NocoDB to the minimum privileges needed for its schema operations limits the metadata that such functions can return, but may break legitimate schema-editing features. Audit logs of column creation and alteration by Creator/Owner users can serve as a detection measure for prior attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a SQL injection (CWE-89) that arises in NocoDB's schema-definition layer rather than in query parsing: the default-value sanitiser in KnexClient.ts validated only the shape of a submitted column default - a bare word followed by empty parentheses - and, on a match, the PostgreSQL and MySQL data-definition emitters (PgClient.ts and MysqlClient.ts) interpolated the value verbatim into the emitted column DDL. Any value not matching that pattern was correctly passed as a bound string literal, so the bypass is specifically an allow-by-shape versus allow-by-identity problem: the check never consulted which function was named. Because only zero-argument functions fit the accepted grammar, the practical payload set is limited to metadata functions such as version(), current_user(), current_database(), inet_server_addr(), pg_postmaster_start_time(), txid_current(), pg_backend_pid(), pg_is_in_recovery() and connection_id(), and the injected expression is evaluated by the database at row-insert time with results persisted and retrievable via normal record reads. This constrains the primitive to information disclosure of server-side metadata rather than arbitrary data access or write operations, which is consistent with the assessed CVSS:3.1 vector of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Know when Nocodb gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with low complexity but needs the Creator/Owner role (PR:L); disclosure is limited to server metadata via zero-arg functions so C:L, with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
NocoDB before 2026.08.0 contains an sql injection vulnerability that allows authenticated Creator or Owner users to execute database functions by supplying zero-argument function calls as column default values. Attackers can plant functions like version() or inet_server_addr() in PostgreSQL or MySQL column definitions and read results through record APIs, disclosing server addresses, role names, and engine details.
Articles & Coverage 2
Technical POC Analysis
CWE-89 (SQL injection, DDL context).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-130715 is a high-severity vulnerability in NocoDB that allows authenticated users with Creator or Owner base roles to plant database function calls as column default values, which are then executed by the underlying PostgreSQL or MySQL database. Successful exploitation leaks sensitive database metadata (version, user, internal server addresses, start timestamps, backend identifiers, and replica state) to the attacker via normal record APIs. Leadership should care because this exposes internal infrastructure details that could facilitate further attacks and indicates a gap in input validation for privileged users.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict Creator/Owner base roles to trusted users, audit and remove any suspicious column default values, deploy WAF rules to block database function patterns in relevant API requests, and monitor database logs for unexpected function executions.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
NocoDB spreadsheet platform prior to 0.301.0 has a stored XSS vulnerability (CVSS 9.0) that enables code execution throu
Insufficient Session Expiration in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), thi
Improper Privilege Management in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), this
NocoDB through 0.106.0 (or 0.109.1) has a path traversal vulnerability that allows an unauthenticated attacker to access
With this SSRF vulnerability, an attacker can reach internal addresses to make a request as the server and read it's con
Generation of Error Message Containing Sensitive Information in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated
Improper Input Validation in GitHub repository nocodb/nocodb prior to 0.96.0. Rated medium severity (CVSS 6.5), this vul
Allocation of Resources Without Limits or Throttling in GitHub repository nocodb/nocodb prior to 0.92.0. Rated medium se
NocoDB versions prior to 0.301.0 contain an open redirect vulnerability in the login flow where the `continueAfterSignIn
NocoDB is software for building databases as spreadsheets. Rated medium severity (CVSS 5.4), this vulnerability is remot
SQL injection in NocoDB's formula query builder lets an authenticated Creator or Owner user persist a crafted parsed_tre
Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated medium severity (CVSS 5.4
EUVD-2026-128786
GHSA-w4px-2qhg-qgwv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB