CVE-2026-112306 NocoBase plugin-collection-sql through 2.2.28 SQL Injection via sqlCollection:setFields
Privileged users can inject SQL via the collection-sql plugin to read sensitive database information like password hashes.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-112306?
CVE-2026-112306 is a high-severity SQL injection vulnerability in nocobase, published on 19 Oct 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2026-112306?
How do I fix CVE-2026-112306?
No fix has been published for CVE-2026-112306 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-112306 being exploited?
There is no known exploitation of CVE-2026-112306 in the wild and no public exploit code.
Sources
Also known as GHSA-j67h-xf8r-r323.