OneUptime: ClickHouse SQL Injection via unvalidated column identifiers in sort, select, and groupBy parameters
Description
OneUptime is a solution for monitoring and managing online services. Prior to version 10.0.34, the fix for CVE-2026-32306 (ClickHouse SQL injection via aggregate query parameters) added column name validation to the _aggregateBy method but did not apply the same validation to three other query construction paths in StatementGenerator. The toSortStatement, toSelectStatement, and toGroupByStatement methods accept user-controlled object keys from API request bodies and interpolate them as ClickHouse Identifier parameters without verifying they correspond to actual model columns. ClickHouse Identifier parameters are substituted directly into queries without escaping, so an attacker who can reach any analytics list or aggregate endpoint can inject arbitrary SQL through crafted sort, select, or groupBy keys. This issue has been patched in version 10.0.34.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
oneuptimenpm | < 10.0.34 | 10.0.34 |
Affected products
2- OneUptime/oneuptimev5Range: < 10.0.34
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-gcg3-c5p2-cqggghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33142ghsaADVISORY
- github.com/OneUptime/oneuptime/security/advisories/GHSA-gcg3-c5p2-cqggghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.