CVE-2026-112306
published high CVSS 4.0 · 8.6NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nocobase | — | nocobase0 through 2.2.46 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
NocoBase @nocobase/plugin-collection-sql through 2.2.46 contains an SQL injection vulnerability that allows privileged users to store unvalidated SQL by bypassing checkSQL() through the sqlCollection:setFields action. Attackers holding the collection-sql snippet can replace a benign collection query with dangerous statements executed on reload, reading pg_shadow password hashes or calling pg_read_file.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nocobase | nocobase | 0 through 2.2.46 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
4- https://github.com/nocobase/nocobase
- https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts#L14-L104
- https://github.com/nocobase/nocobase/issues/10629
- VulnCheck Advisory: NocoBase plugin-collection-sql through 2.2.28 SQL Injection via sqlCollection:setFields https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields
Provider assertions
2VulnCheck · cna
NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e4a5300034b38529d3c148fcd4db952028370356b82412d26bbeede8be53a5e
- Ingested
- 13 Nov 2026, 15:17:36 UTC
- Source record
- Official CVE record