# CVE-2026-40595: Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-30T18:21:28.551Z
- Modified: 2026-06-17T10:45:30.393Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- chartbrew chartbrew: = 4.9.0

## References

- <https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mq7q-6xh6-5649> (exploit)
- <https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0>

## Sources

- CVE List: [CVE-2026-40595](https://www.cve.org/CVERecord?id=CVE-2026-40595), CVE Terms of Use, modified 2026-04-30
- NVD: [CVE-2026-40595](https://nvd.nist.gov/vuln/detail/CVE-2026-40595), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40595 · Whole record: https://cve.day/CVE-2026-40595.json · Rebuilt by cve.day 2026-11-25T22:59:20.294Z
