# CVE-2026-32306: OneUptime ClickHouse SQL Injection via Aggregate Query Parameters

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-12T21:27:51.463Z
- Modified: 2026-10-07T08:10:00.200Z
- Also known as: GHSA-p5g2-jm85-8g35
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

OneUptime is a solution for monitoring and managing online services. Prior to 10.0.23, the telemetry aggregation API accepts user-controlled aggregationType, aggregateColumnName, and aggregationTimestampColumnName parameters and interpolates them directly into ClickHouse SQL queries via the .append() method (documented as "trusted SQL"). There is no allowlist, no parameterized query binding, and no input validation. An authenticated user can inject arbitrary SQL into ClickHouse, enabling full database read (including telemetry data from all tenants), data modification, and potential remote code execution via ClickHouse table functions. This vulnerability is fixed in 10.0.23.

(As written by CVE List.)

## Affected

- OneUptime oneuptime: < 10.0.23
- oneuptime (npm): before 10.0.23
- hackerbay oneuptime: before 10.0.23

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/OneUptime/oneuptime/security/advisories/GHSA-p5g2-jm85-8g35> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32306> (advisory)
- <https://github.com/OneUptime/oneuptime> (package)
- <https://github.com/OneUptime/oneuptime/releases/tag/10.0.23> (web)

## Sources

- CVE List: [CVE-2026-32306](https://www.cve.org/CVERecord?id=CVE-2026-32306), CVE Terms of Use, modified 2026-03-14
- GitHub Advisory Database: [GHSA-p5g2-jm85-8g35](https://github.com/advisories/GHSA-p5g2-jm85-8g35), CC-BY-4.0, modified 2026-03-16
- NVD: [CVE-2026-32306](https://nvd.nist.gov/vuln/detail/CVE-2026-32306), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-32306 · Whole record: https://cve.day/CVE-2026-32306.json · Rebuilt by cve.day 2026-11-25T22:59:15.891Z
