CVE-2026-40601 Chartbrew: Missing Authorization in /api/chart/:chart_id/query via team-level refresh toggle
Unauthenticated attackers can retrieve private chart data by exploiting missing authorization checks on the query endpoint in Chartbrew.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-40601?
CVE-2026-40601 is a high-severity missing authorization vulnerability in chartbrew, published on 30 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 POST /api/chart/:chart_id/query without authentication. The endpoint only checks team.allowReportRefresh and does not verify that the target chart belongs to a public report, that the project is public, or that sharing policy allows the operation. An unauthenticated attacker who knows a chart identifier can trigger a data refresh and retrieve the current data of private charts. This issue has been patched in version 5.0.0.
Weakness: CWE-862
Which versions are affected by CVE-2026-40601?
How do I fix CVE-2026-40601?
No fix has been published for CVE-2026-40601 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-40601 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40601 exists.
Sources
Also known as GHSA-cpr6-mhgm-893w.