Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach NocoBase SQL data-source endpoint
-
ExploitSubmit crafted SQL to checkSQL
-
ExecutionInjection executes against backend DB
-
ImpactExfiltrate sensitive database records
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 reaching NocoBase's SQL handling path - specifically the checkSQL function used by its SQL data-source / SQL-collection feature - and submitting attacker-crafted SQL, in NocoBase v2.1.21. The CVSS vector asserts no privileges or user interaction (PR:N/UI:N, remote), but this feature is normally an authenticated administrative capability, so realistic exploitation likely requires a valid account with access to define or run SQL sources; this authentication gate is the primary limiting factor and should be confirmed with the vendor. No unusual client-side interaction is needed once the endpoint is reached. Impact per the description is limited to reading sensitive database contents. |
| Impact | Signals conflict sharply. The vendor/NVD CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) frames this as a maximally severe unauthenticated network RCE-equivalent, and SSVC rates Technical Impact 'total' with Automatable 'yes'. However, the description scopes the impact narrowly to reading data ('access sensitive database information') via SQL injection in the checkSQL function - with no mention of write, modification, or availability loss, so the I:H/A:H components appear overstated for a read-oriented SQLi. Exploitation status is publicly available exploit code exists (POC referenced in a GitHub issue, SSVC Exploitation='poc') but this is NOT confirmed active exploitation - it is absent from CISA KEV. EPSS is very low at 0.15% (5th percentile), which is consistent with a fresh, niche-product POC that is not yet part of mass scanning. The checkSQL function is NocoBase's SQL-datasource/SQL-collection validation path, which is normally an authenticated administrative feature - this contradicts the PR:N (unauthenticated) claim in the CVSS vector and should be verified with the vendor. Net: technically real and easily weaponized once the endpoint is reachable, but the low deployment footprint, low EPSS, no KEV, and likely authentication requirement make this a medium priority rather than an emergency for most environments. |
| Exploit ScenarioDerived | An attacker with access to NocoBase's SQL data-source / collection feature submits a crafted SQL statement that flows unsanitized through the checkSQL function, causing the injected clause to execute against the backend database. Because the injection reaches the query directly, the attacker exfiltrates sensitive rows (credentials, tokens, business data) from the connected database. A public POC exists (GitHub czx1111/cve issue #6), lowering the skill barrier, though realistic use depends on reaching the SQL feature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 22, 2026
SQL injection in NocoBase v2.1.21 lets an attacker reach the SQL handling path behind the checkSQL function and submit crafted SQL statements that disclose sensitive database contents. Publicly available exploit code exists (SSVC Exploitation: poc, Automatable: yes, Technical Impact: total), though the EPSS score is only 0.15% (5th percentile) and CVE-2026-88402 is not confirmed actively exploited (CISA KEV). The published CVSS vector is 9.8 with PR:N/UI:N, but independent assessment rates the vector lower (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L) and concludes that the SQL data-source/SQL-collection feature is normally an authenticated administrative capability, so the realistic limiting factor is a valid account with permission to define or run SQL sources rather than an unauthenticated remote attacker; this discrepancy should be confirmed with the vendor.
RemediationAI
No vendor-released patch was identified at time of analysis and no fix version is present in the supplied data, so there is no exact upgrade target to cite - monitor the NocoBase release notes and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-88402 (and the CVE.org reference https://github.com/czx1111/cve/issues/6) and upgrade as soon as a release patching checkSQL is published. In the interim, the most effective control is to strip the attack surface: disable or remove the SQL data-source / SQL-collection plugin if your deployment does not depend on it (trade-off: any existing SQL-backed collections stop functioning), or, if it is required, restrict who can create or execute SQL sources to a small, audited set of trusted administrators, which directly addresses the authenticated-access prerequisite identified in the independent assessment. Bind NocoBase's database connection to a least-privilege, read-mostly account limited to the schemas the application genuinely needs (trade-off: this does not stop the injection itself but constrains blast radius, and it can break legitimate features that write outside that scope). Add WAF/API-gateway rules that block or alert on SQL meta-characters and UNION/stacked-query patterns on the NocoBase SQL endpoints (trade-off: false positives against legitimate SQL-source authoring), keep the NocoBase instance off untrusted networks, and enable database query logging so attempts against checkSQL are detectable. Rotate database credentials and audit for prior data disclosure if the instance was internet-reachable.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) in NocoBase's checkSQL function, part of the platform's SQL data-source / SQL-collection feature, which is designed to let users define custom data sources backed by raw SQL. Because attacker-supplied input reaches the constructed query without adequate parameterization or allow-listing, an attacker who can influence that input can alter the intended statement and read data outside the authorized scope. NocoBase is an extensible no-code/low-code application platform built on Node.js with Koa and Sequelize, so the injection lands in the database backend configured for the instance (MySQL, PostgreSQL, SQLite and similar are typically supported), meaning impact tracks the privileges of the database account NocoBase uses. The supplied CPE string is unresolved (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*) and EUVD lists affected versions as 'n/a n/a', so CPE-based identification cannot be relied on here; the only concrete version anchor across sources is the description's NocoBase v2.1.21. The root-cause class is directly consistent with the MITRE CWE-89 assignment and with the SSVC assessment of Automatable: yes.
Know when Nocobase 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
checkSQL is an authenticated SQL-source feature so PR:L not PR:N; description scopes impact to data access, so C:H with only incidental I:L/A:L, not I:H/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
A SQL injection vulnerability in the checkSQL function of nocobase v2.1.21 allows attackers to access sesntive database information via injecting crafted SQL statements.
Executive ViewAI
NocoBase v2.1.21 contains a critical SQL injection issue that could allow an attacker to retrieve sensitive data from the underlying database. Publicly available exploit code exists and no vendor-released patch identified at time of analysis, so organizations running this version should treat remediation as a priority. Leadership should care because affected deployments may hold regulated or business-critical data, with the practical risk concentrated among administrative users who can define or run SQL sources.
No vendor-released patch identified at time of analysis. Interim mitigations: disable or restrict the SQL data-source and SQL-collection features; limit NocoBase v2.1.21 access to trusted administrative networks; enforce least privilege and MFA for all accounts with SQL source permissions; deploy WAF/virtual patching rules to block SQL injection attempts; monitor database and application logs for anomalous SQL queries; audit for unauthorized privileged accounts; and confirm authentication requirements with the vendor.
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.
SQL injection in NocoBase's @nocobase/plugin-notification-in-app-message (before 2.0.61) lets any signed-up authenticate
Sandbox escape in NocoBase's plugin-workflow-javascript (all 2.0.x releases through 2.0.23) originates from a defective
Server-side request forgery in NocoBase through v2.1.20 allows authenticated administrators to issue arbitrary outbound
PostgreSQL password hash disclosure in NocoBase 2.0.59 and earlier allows an authenticated administrator to extract pg_s
Command injection in NocoBase's @nocobase/plugin-backups prior to v2.1.19 allows an authenticated backup-management user
Server-side request forgery in NocoBase v2.1.21 lets an authenticated, low-privilege user drive the server's serverReque
EUVD-2026-84194
GHSA-wpgx-gfq3-9mgr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB