# CVE-2026-116818: OpenPanel ClickHouse SQL injection

Source: https://junglewise.ai/threats/cve-2026-116818-openpanel-before-3-0-0-contains-an-unauthenticated-clickhouse  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-27. Updated: 2026-10-27  
License: CC BY 4.0 with a link back

CVE-2026-116818 · Severity: high · CVSS 8.2 · Published 2026-10-27

OpenPanel is an open-source analytics platform. Two SQL injection flaws in its ClickHouse database integration allow unauthenticated attackers to steal events and profiles from other customers' projects, and authenticated users to read data beyond their project's scope. The unauthenticated vulnerability requires only a WebSocket connection to exploit, creating severe multi-tenant data exposure.

Technologies: [OpenPanel](https://junglewise.ai/threats/technologies/openpanel). Vendors: [OpenPanel](https://junglewise.ai/threats/vendors/openpanel).

## Quick answers

**Is CVE-2026-116818 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-116818 being exploited in the wild.

**How severe is CVE-2026-116818?** High severity, with a CVSS score of 8.2, published 27 October 2026.

**Which products and versions are affected?** OpenPanel before 3.0.0.

**Is there a fix for CVE-2026-116818?** Yes: fixed in Version 3.0.0 and later (commit 35ddc8e applies proper escaping and validation). Until then: Ensure ClickHouse is accessed with a read-only, single-statement-constrained database user account to limit injection impact. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-116818 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-116818?** Check whether you run OpenPanel at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Version 3.0.0 and later (commit 35ddc8e applies proper escaping and validation)

Ensure ClickHouse is accessed with a read-only, single-statement-constrained database user account to limit injection impact.

## Technical details

The primary vulnerability is an unauthenticated SQL injection in the `/live/visitors/:projectId` WebSocket endpoint's `getActiveVisitorCount()` method, which interpolates the projectId parameter directly into a ClickHouse query without escaping or validation, and the endpoint lacks session and project-access authentication checks. A secondary authenticated injection exists in `cohort.preview` where absolute timeframe values bypass escaping. Both vulnerabilities bypass per-project tenant isolation by executing arbitrary ClickHouse queries against shared events and profiles tables.

## Affected products

- Openpanel OpenPanel before 3.0.0

## Timeline

- 2026-10-27: disclosed
- 2026-09-01: patched: Fix committed; version 3.0.0 released with escaping and validation

## References

- [https://github.com/Openpanel-dev/openpanel/commit/35ddc8ebbcd4ed0767933de61f014f153d68442a](https://github.com/Openpanel-dev/openpanel/commit/35ddc8ebbcd4ed0767933de61f014f153d68442a)
- [https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-8wr9-x797-f238](https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-8wr9-x797-f238)

## Related threats

- [OpenPanel missing authentication in Bull Board](https://junglewise.ai/threats/cve-2026-116817-openpanel-before-3-0-0-contains-a-missing-authentication)
- [OpenPanel improper escaping in sankey.service.ts](https://junglewise.ai/threats/cve-2026-116815-openpanel-before-3-0-0-contains-an-improper-escaping)
- [OpenPanel information exposure through logs](https://junglewise.ai/threats/cve-2026-116814-openpanel-before-3-0-0-contains-an-information-exposure)
- [OpenPanel SQL injection in cohort profile filter](https://junglewise.ai/threats/cve-2026-116812-openpanel-before-3-0-0-contains-a-sql-injection-vulnerability-in)
- [OpenPanel sandbox escape in JavaScript template validator](https://junglewise.ai/threats/cve-2026-116811-openpanel-before-3-0-0-contains-a-sandbox-escape-vulnerability)
