CVE-2026-88402 Details
Description
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.
A SQL injection vulnerability has been identified in Nocobase version 2.1.21, specifically within the '@nocobase/plugin-collection-sql' plugin. The issue arises in the 'checkSQL' function, which improperly validates SQL statements by only checking the first statement in a multi-statement input. This flaw allows attackers to inject and execute additional SQL commands, bypassing security measures intended to prevent the use of dangerous keywords. The vulnerability is particularly severe in MySQL and MariaDB environments, where the execution of multiple statements is permitted.
To address this vulnerability, the SQL validation process should be revised to check the entire SQL string, rejecting any input that contains semicolons or multiple statements. Additionally, the 'multipleStatements: true' option should be removed from the MySQL/MariaDB Sequelize configuration, as it is unnecessary for queries that only involve SELECT statements. Finally, using parameterized queries or prepared statements instead of raw SQL execution can help prevent similar vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 21, 2026CISA-ADP
Assessed Sep 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/czx1111/cve/issues/6 | CISA-ADP | ExploitIssue TrackingTechnical Description |
| https://github.com/czx1111/cve/issues/6 | [email protected] | ExploitIssue TrackingTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| NocoBase | 2.1.21 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 22, 2026 | CVE Modified | CISA-ADP |
| Sep 21, 2026 | New CVE Received | [email protected] |
Volerion