Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. oneuptime
  4. ›
  5. CVE-2026-33142

CVE-2026-33142: OneUptime ClickHouse vulnerable to SQL Injection via unvalidated column identifiers in sort, select, and groupBy parameters

March 18, 2026 (updated March 20, 2026)

The fix for GHSA-p5g2-jm85-8g35 (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.

References

  • github.com/OneUptime/oneuptime
  • github.com/OneUptime/oneuptime/security/advisories/GHSA-gcg3-c5p2-cqgg
  • github.com/advisories/GHSA-gcg3-c5p2-cqgg
  • nvd.nist.gov/vuln/detail/CVE-2026-33142

Code Behaviors & Features

Detect and mitigate CVE-2026-33142 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.0.34

Fixed versions

  • 10.0.34

Solution

Upgrade to version 10.0.34 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/oneuptime/CVE-2026-33142.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:19:17 +0000.