# CVE-2026-116812: OpenPanel SQL injection in cohort profile filter

Source: https://junglewise.ai/threats/cve-2026-116812-openpanel-before-3-0-0-contains-a-sql-injection-vulnerability-in  
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-116812 · Severity: medium · CVSS 6.5 · Published 2026-10-27

OpenPanel is an analytics platform that uses ClickHouse for data queries. A SQL injection vulnerability in the cohort preview feature allows authenticated users with read access to inject malicious SQL code through profile filter column names, potentially exposing other tenants' data. An attacker can craft a filter that extracts sensitive information from the shared ClickHouse database across different customers.

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

## Quick answers

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

**How severe is CVE-2026-116812?** Medium severity, with a CVSS score of 6.5, published 27 October 2026.

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

**Is there a fix for CVE-2026-116812?** No fixed version is recorded yet. Apply the PROFILE_COLUMNS allowlist used by the profileColumnSql function to profileColumnAccess, rejecting any column identifier not on the allowlist. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-116812 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-116812?** 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


Apply the PROFILE_COLUMNS allowlist used by the profileColumnSql function to profileColumnAccess, rejecting any column identifier not on the allowlist.

## Technical details

The vulnerability exists in the profileColumnAccess function in cohort.service.ts, which fails to allowlist or escape profile column identifiers before splicing them into SQL queries (argMax, cityHash64, and comparison clauses). An authenticated project-read member can inject a subquery via the cohort.preview endpoint to escape the outer project_id scope and read other tenants' data. The filter value is properly escaped, but the column identifier is not, creating an SQL injection sink in identifier context.

## Affected products

- Openpanel OpenPanel before 3.0.0

## Timeline

- 2026-10-11: disclosed
- 2026-10-27: advisory

## References

- [https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-gvwr-5684-wjqc](https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-gvwr-5684-wjqc)
- [https://www.vulncheck.com/advisories/openpanel-before-3.0.0-clickhouse-sql-injection-via-cohort-preview-profile-filter](https://www.vulncheck.com/advisories/openpanel-before-3.0.0-clickhouse-sql-injection-via-cohort-preview-profile-filter)

## Related threats

- [OpenPanel ClickHouse SQL injection](https://junglewise.ai/threats/cve-2026-116818-openpanel-before-3-0-0-contains-an-unauthenticated-clickhouse)
- [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 sandbox escape in JavaScript template validator](https://junglewise.ai/threats/cve-2026-116811-openpanel-before-3-0-0-contains-a-sandbox-escape-vulnerability)
