CVE-2026-32306: OneUptime SQL Injection Vulnerability in ClickHouse Aggregation API

oneuptime Updated 14 Mar 2026

Summary

13/03/2026
Yes i
Critical
9.9

CVE-2026-32306: OneUptime ClickHouse SQL Injection via Aggregate Query Parameters. Affects oneuptime versions < 10.0.23. Fixed in 10.0.23. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OneUptime is an open-source platform designed for monitoring and managing application performance, providing telemetry data such as logs, traces, and metrics. It utilizes ClickHouse, a columnar database management system, for efficient data storage and querying. However, a critical vulnerability exists in its telemetry aggregation API, which allows for SQL injection attacks due to inadequate input validation.

Vulnerability Detail

The vulnerability arises from the telemetry aggregation API's handling of user-controlled parameters: aggregationType, aggregateColumnName, and aggregationTimestampColumnName. These parameters are directly interpolated into ClickHouse SQL queries without any validation or allowlisting. An authenticated user can exploit this flaw to inject arbitrary SQL, leading to unauthorized access to sensitive data across all tenants, data manipulation, and potential remote code execution. The lack of input validation and the use of raw SQL concatenation are significant technical aspects that contribute to this vulnerability.

How To Fix

Minimum fixed version

10.0.23

This is the first release that contains the fix.

npm install oneuptime@10.0.23

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the aggregation API endpoints to trusted users only until the patch is applied. Additionally, monitor and log API requests for any suspicious activity.

Conclusion

CVE-2026-32306 represents a significant security risk for OneUptime users, allowing for SQL injection attacks that can compromise sensitive data and system integrity. Immediate action is recommended to update the package and implement the suggested code fixes to mitigate this vulnerability.

See every vulnerability recorded for oneuptime →

Share this vulnerability

FAQ

CVE-2026-32306 is a critical SQL injection vulnerability in the OneUptime platform that allows authenticated users to execute arbitrary SQL queries against the ClickHouse database.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json without any signup.

The vulnerability can lead to unauthorized data access across all tenants, data manipulation, server-side file reads, remote code execution, and credential theft.

To update to the patched version, run the command 'npm install oneuptime@10.0.23' in your project directory.

If immediate updates are not possible, implement access restrictions to the affected API endpoints and monitor for any unusual activity.

Related vulnerabilities

Recent vulnerabilities recorded for oneuptime.

How To Fix

Minimum fixed version

10.0.23

This is the first release that contains the fix.

npm install oneuptime@10.0.23

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback