{"id":"CVE-2026-41641","published":"2026-05-07T04:13:33Z","modified":"2026-05-07T14:14:23Z","title":"NocoBase Vulnerable to SQL Validation Bypass via `sqlCollection:update` Missing `checkSQL` Call","vendor":"nocobase","product":"nocobase","tier":"tail","description":{"text":"NocoBase is an AI-powered no-code/low-code platform for building business applications and enterprise solutions. Prior to version 2.0.39, the checkSQL() validation function that blocks dangerous SQL keywords (e.g., pg_read_file, LOAD_FILE, dblink) is applied on the collections:create and sqlCollection:execute endpoints but is entirely missing on the sqlCollection:update endpoint. An attacker with collection management permissions can create a SQL collection with benign SQL, then update it with arbitrary SQL that bypasses all validation, and query the collection to execute the injected SQL and exfiltrate data. This issue has been patched in version 2.0.39.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01833,"percentile":0.79428,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/nocobase/nocobase/security/advisories/GHSA-wrwh-c28m-9jjh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nocobase/nocobase/pull/9134","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/commit/851aee543efa894142e0f7be03eb55d9cec06a91","tags":["x_refsource_MISC"]},{"url":"https://github.com/nocobase/nocobase/releases/tag/v2.0.39","tags":["x_refsource_MISC"]}],"priority":{"score":25.9,"factors":[{"name":"EPSS percentile","points":15.89},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.04}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-41641","name":"NocoBase - SQL Injection","severity":"high","path":"http/cves/2026/CVE-2026-41641.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-41641.yaml"}],"provenance":"source"},"vendorSlug":"nocobase","affectedVersions":[{"vendor":"nocobase","product":"nocobase","versions":["< 2.0.39"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-07T14:13:49.780425Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nocobase/plugin-collection-sql","vulnerableRanges":["<2.0.39"],"patched":["2.0.39"],"from":["GHSA-wrwh-c28m-9jjh"],"provenance":"source"}],"summary":{"text":"NocoBase, a no-code/low-code platform for building business applications, has a flaw in its sqlCollection:update endpoint, which omits the checkSQL() validation that blocks dangerous SQL keywords and is applied on the create and execute endpoints in versions prior to 2.0.39. An attacker who holds collection management permissions and can reach the platform over the network can create a SQL collection with benign SQL, update it to arbitrary SQL that bypasses validation, and then query the collection to run the injected SQL and exfiltrate data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:29Z"},"euvd":{"id":"EUVD-2026-28318","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41641","published":"2026-05-07","fixed":"2.0.39","kev":false},{"cve":"CVE-2026-52888","published":"2026-07-15","fixed":"2.1.0-beta.45","kev":false,"link":{"from":"CVE-2026-41641","to":"CVE-2026-52888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@nocobase/plugin-collection-sql","fromFixed":"2.0.39","toFixed":"2.0.62","daysApart":69}]}}],"package":"npm:@nocobase/plugin-collection-sql"}}