CVE-2026-40595: Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks
Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. In version 4.9.0, Chartbrew exposes public chart retrieval and export routes that only verify project-level public access and, for exports, a team-level export toggle. The routes do not verify whether the target chart is actually allowed on the public report or whether the governing SharePolicy permits public access. An unauthenticated attacker who knows a chart identifier in a public project can read or export chart data for charts that were intentionally hidden from the report. This issue has been patched in version 5.0.0.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40595?
CVE-2026-40595 has been identified with a high severity level due to incorrect access control in public chart and export routes.
How do I fix CVE-2026-40595?
To fix CVE-2026-40595, upgrade to Chartbrew version 5.0.0 or later, which implements necessary access control checks.
What are the risks associated with CVE-2026-40595?
The risks associated with CVE-2026-40595 include unauthorized access to public charts and data exports that could expose sensitive information.
Which versions of Chartbrew are affected by CVE-2026-40595?
CVE-2026-40595 affects Chartbrew versions prior to 5.0.0.
Is there a workaround for CVE-2026-40595 before upgrading?
Currently, there are no effective workarounds for CVE-2026-40595; upgrading to the latest version is recommended.