CVE-2026-40595

Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks

Published Apr 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Chartbrew is an open‑source analytics platform that allows users to connect databases and APIs to generate charts. In version 4.9.0 the API exposed public chart retrieval and export endpoints that only checked whether the enclosing project was marked public, and for exports verified a generic team‑level toggle. However, the endpoints failed to confirm whether the individual chart was intended for public display or whether the SharePolicy explicitly granted public access. As a result, an attacker, even without authentication, could supply a known chart identifier and read or download chart data that should have remained hidden. The weakness is an improper access control flaw (CWE‑284) that leads to unauthorized disclosure of chart data.

Affected Systems

Chartbrew’s open‑source web application. The vulnerability exists in any GitHub project using Chartbrew version 4.9.0 or earlier. It was resolved in the subsequent release, version 5.0.0.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity risk. The lack of an EPSS score means no published probability estimate is available, but the vulnerability was publicly disclosed and has been addressed by the vendor. The issue can be exploited simply by sending HTTP requests to the public chart or export endpoints with a guessed chart identifier, which is feasible for an unauthenticated attacker. Because the flaw resides in the back‑end logic and does not require privileged user credentials, the likely attack vector is remote network access over HTTP/HTTPS. The vulnerability has not been listed in the CISA KEV catalog, yet its high impact and ease of exploitation warrant immediate remediation if the affected version is in use.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Chartbrew installation to version 5.0.0 or later, which fixes the missing access checks on the public chart and export routes.
  • After the upgrade, review the SharePolicy configuration for each chart to ensure that sensitive charts are not accidentally set to public.
  • Audit the chart visibility settings of existing public projects and adjust the public‑report flags to match intended disclosure levels.

Generated by OpenCVE AI on May 1, 2026 at 05:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Chartbrew
Chartbrew chartbrew
Vendors & Products Chartbrew
Chartbrew chartbrew
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 30, 2026, 7:02 PM
Reserved
Apr 14, 2026, 2:07 PM
Status
Deferred
Published
Apr 30, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:45 AM