Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user (Viewer)
-
DeliverySubmit legacy where filter with injected quote
-
ExploitBreak out of single-quoted SQL literal in CustomKnex.ts
-
ExecutionRun arbitrary read query on PostgreSQL
-
ImpactExfiltrate other schemas, hidden columns, filtered rows
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 | Exploitation requires (1) an authenticated NocoDB account with data-read permission on a base - the Viewer role is explicitly sufficient, so near-minimal privilege; and (2) that the targeted base uses a PostgreSQL data source, since only the PostgreSQL branch of CustomKnex.ts concatenated the value into raw SQL - MySQL, SQLite, and other clients used the parameterised fallback and are NOT exploitable. (3) The attack is performed through the legacy where query filter parameter using a (field,like,value)-style filter. Limiting factors: impact is read-only (PostgreSQL's parameterised protocol rejects stacked statements, so no data modification or DoS); exploitation is confined to NocoDB instances before 2026.08.0 backed by PostgreSQL; and an attacker must already possess valid low-privilege credentials, so this is not fully unauthenticated. |
| Impact | This is a credible, mid-to-high priority issue rather than an inflated high-CVSS score, but it is bounded in impact. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation that requires only low privileges - specifically any authenticated account with data-read permission, including the low-trust Viewer role, which makes the privilege barrier very weak in multi-tenant deployments. Impact is confidentiality-only: VC:H/SC:H with VI:N/VA:N and CWE-89 describe read-only SQL injection that discloses other tables, schemas, view-filtered rows, and hidden columns, but PostgreSQL's parameterised protocol rejects stacked statements so there is no write/modify or availability impact - this is consistent across the vendor advisory and GHSA. The vuln.today decision label is 'this_week' (not act_now/emergency), and the flaw is NOT in CISA KEV. No EPSS score was supplied in the input, so exploitation-probability cannot be compared quantitatively - this is a missing signal. It was reported by VulnCheck and originally by @tikket1, and advisories exist, but the input does not include confirmed working exploit code. One scope nuance to verify: exploitation is strictly limited to the PostgreSQL data-source branch - MySQL/SQLite and other clients used the already-parameterised fallback and are not affected, so risk is conditional on the backing database. |
| Exploit ScenarioDerived | An attacker who holds any low-privilege account on a PostgreSQL-backed NocoDB base - for example a Viewer invited to a single shared view - crafts a legacy filter of the form (field,like,value) and injects a single quote into the comparison value, closing the SQL literal so the remainder is interpreted as query syntax. Because CustomKnex.ts concatenates that value into raw SQL without escaping, the attacker reads data far beyond their granted scope: other tables and schemas, rows normally excluded by view filters, and columns hidden by field visibility. The attack requires only authenticated read access and low complexity (PR:L/AC:L); advisories exist from the vendor and VulnCheck, but the input does not confirm published working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
SQL injection in NocoDB before 2026.08.0 lets any authenticated user with data-read permission - including the Viewer role - run arbitrary read queries against PostgreSQL-backed bases, exposing other tables, schemas, view-filtered rows, and hidden columns. The flaw is confined to the legacy where filter on PostgreSQL data sources; MySQL, SQLite, and other clients use a parameterised path and are not exploitable via this issue. A vendor fix is available in 2026.08.0; no CISA KEV entry or public exploit code was provided in the available intelligence, and vuln.today assigns this_week priority.
RemediationAI
Upgrade NocoDB to 2026.08.0 or later; the vendor advisory GHSA-f2jp-xg6f-hjf6 documents the fix, and upstream package data lists fixed-in 2026.08.0 with vulnerable versions below 2026.08.0. Prioritise any NocoDB deployment that uses PostgreSQL data sources, since MySQL, SQLite, and other clients are not affected by this injection path. The available sources do not document a vendor workaround beyond upgrading, so remediation should centre on applying the 2026.08.0 release and confirming the deployed version.
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 issue is CWE-89 SQL injection in NocoDB's CustomKnex.ts handling of the legacy where query parameter. For a filter of the form (field,like,value), NocoDB bound the column reference as a parameter but concatenated the comparison value into a single-quoted SQL literal with no escaping. On the PostgreSQL branch, a single quote in the value closed the literal, and the remainder of the value was interpreted as SQL syntax. The operator came from a fixed mapping table and never from the request, and the fallback branch used for other database clients already parameterised the value, so only PostgreSQL-backed deployments were affected. Because the injection point is a read query and PostgreSQL's parameterised protocol rejects additional statements, the flaw permits read-only disclosure rather than data modification or denial of service. The assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N, reflecting network exploitation by an authenticated low-privilege user with high confidentiality impact and scope change.
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:H/SI:N/SA:N
Network-reachable with only Viewer-level auth (PR:L) and no user interaction; scope changes (S:C) as a NocoDB user reads database data beyond the app's authorization boundary; read-only SQLi means C:H, I:N, A:N.
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 users with read access to run arbitrary read queries via the legacy where parameter on PostgreSQL. Attackers, including Viewer-role users, can inject single quotes into filter values concatenated by CustomKnex.ts to read other tables, schemas, view-filtered rows, and hidden columns.
Articles & Coverage 1
Technical POC Analysis
CWE-89 (SQL injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
NocoDB, a widely used no-code database platform, contains a SQL injection flaw (CVE-2026-126285) that allows any authenticated user, even those with read-only Viewer access, to bypass intended data restrictions and access sensitive information across PostgreSQL-backed bases. This undermines the platform's access controls, potentially exposing confidential data to low-privileged insiders. Leadership should prioritize remediation to prevent data leakage and maintain compliance with data protection policies.
Apply vendor patch.
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-125236
GHSA-2phw-hmfj-7vgj
NVD
CVE.org
EPSS
Exploit-DB