# CVE-2026-85610: OpenPanel chart formula code injection via mathjs

Source: https://junglewise.ai/threats/cve-2026-85610-openpanel-chart-formula-code-injection-via-mathjs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-04. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-85610 · Severity: high · CVSS 8.8 · Published 2026-09-04

OpenPanel is an analytics and dashboarding platform that allows users to create dynamic reports using formula expressions. Authenticated project members with read-only access can exploit improper validation of chart formulas to recover a JavaScript constructor and execute arbitrary operating system commands with the privileges of the API process. This bypasses organization security boundaries and allows attackers to access sensitive data, modify systems, and disrupt operations across multiple organizations.

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

## Quick answers

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

**How severe is CVE-2026-85610?** High severity, with a CVSS score of 8.8, published 4 September 2026.

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

**Is there a fix for CVE-2026-85610?** A patch was published on 2026-09-04: Version 2.3.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-85610 attacked?** It is attacked over the network, in a web application.

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

## Technical details

The vulnerability is a code injection flaw (CWE-94) in OpenPanel's chart formula evaluation engine. The affected component (packages/db/src/engine/compute.ts) passes user-supplied chart formulas directly to mathjs.parse().compile().evaluate() without AST validation or allowlisting. An authenticated attacker with read-level project access can craft a malicious formula using MatrixIndex and DenseMatrix expressions to recover the native JavaScript Function constructor through mathjs's internal object callbacks. Once obtained, the attacker can load Node.js built-in modules and execute arbitrary OS commands via child_process or similar APIs, all running in the context of the API process. The vulnerability requires authentication and project read access but no additional user interaction; the attacker can access other organizations' data by bypassing authorization checks enforced at the API layer. Version 2.3.0 patches the issue; affected versions include at least 2.2.0 and the supported main branch as of August 2026.

## Affected products

- OpenPanel OpenPanel before 2.3.0

## Timeline

- 2026-08-20: disclosed
- 2026-09-04: advisory
- 2026-09-04: patched: Version 2.3.0 released

## References

- [https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-7476-c5cc-8999](https://github.com/Openpanel-dev/openpanel/security/advisories/GHSA-7476-c5cc-8999)
- [https://www.vulncheck.com/advisories/openpanel-before-2.3.0-remote-code-execution-via-chart-formulas](https://www.vulncheck.com/advisories/openpanel-before-2.3.0-remote-code-execution-via-chart-formulas)

## 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 SQL injection in cohort profile filter](https://junglewise.ai/threats/cve-2026-116812-openpanel-before-3-0-0-contains-a-sql-injection-vulnerability-in)
