# CVE-2026-112306: NocoBase plugin-collection-sql through 2.2.46 SQL Injection via sqlCollection:setFields

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 39% of CVEs (2026-11-30)
- Published: 2026-10-19T15:28:56.450Z
- Modified: 2026-11-13T15:17:30.583Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- nocobase nocobase: up to 2.2.46

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nocobase/nocobase/issues/10629> (issue-tracking)
- <https://github.com/nocobase/nocobase/blob/v2.2.28/packages/plugins/@nocobase/plugin-collection-sql/src/server/resources/sql.ts#L14-L104> (technical-description)
- <https://github.com/nocobase/nocobase> (product)
- <https://www.vulncheck.com/advisories/nocobase-plugin-collection-sql-through-2.2.28-sql-injection-via-sqlcollection-setfields> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112306](https://www.cve.org/CVERecord?id=CVE-2026-112306), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-112306](https://nvd.nist.gov/vuln/detail/CVE-2026-112306), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-112306 · Whole record: https://cve.day/CVE-2026-112306.json · Rebuilt by cve.day 2026-11-25T22:59:45.521Z
