AploSec / Disclosures / CVE-2026-112306

ReproducedNo fix listedCWE-89Shared creditnpm

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

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

Summary

NocoBase @nocobase/plugin-collection-sql through 2.2.28 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 with a proof of concept that reproduced against the affected release.

Remediation

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

References

Package
@nocobase/plugin-collection-sql
Ecosystem
npm
Weekly downloads
2k
Affected
through 2.2.28
Fixed
None
Weakness
CWE-89
CNA
VulnCheck
Credit
George Chen, Zachariah Mithani