AploSec / Disclosures / CVE-2026-112306

High 8.6ReportedNo fix listedCWE-89Multiple credited contributorsnpm

NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields

CVE-2026-112306 · published 2026-10-19

In plain words: this type of bug lets someone change the queries sent to the database (SQL injection). No fixed release is listed yet.

Summary

CVE-2026-112306 affects @nocobase/plugin-collection-sql (npm) through 2.2.46: SQL injection via sqlCollection:setFields (CWE-89). No fixed release is listed. CVSS 4.0 base score 8.6 (High), assigned by VulnCheck. Published 2026-10-19 by VulnCheck. Credit: George Chen, Zachariah Mithani.

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.6CVSS 4.0, scored by VulnCheck in the CVE record
Package
@nocobase/plugin-collection-sql
Ecosystem
npm
Affected
through 2.2.46
Fixed
None
Weakness
CWE-89
CNA
VulnCheck
Credit
George ChenfinderZachariah Mithanifinder