Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40595
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:29 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 30 Apr 2026, 18:21 UTC

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.

osv:CVE-2026-40595
Complete source record
{
  "id": "61f793d19b6bf6f344e7d9794196614e9496294f56832b1990dda8bc7193c067",
  "url": "https://osv.dev/vulnerability/CVE-2026-40595",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks",
    "summary": "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.",
    "evidence": "osv:CVE-2026-40595",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-40595",
      "aliases": [
        "CVE-2026-40595",
        "GHSA-mq7q-6xh6-5649"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/chartbrew/chartbrew",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7cf1713c5a14d36cf88f4e5f467ddc74d7c6f600"
                },
                {
                  "fixed": "266e7b27f15e2c3e1762199ca57bf380ec57c232"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "= 4.9.0"
                      },
                      {
                        "last_affected": "= 4.9.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "266e7b27f15e2c3e1762199ca57bf380ec57c232"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.0.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "= 4.9.0",
            "v4.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40595.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.362889719Z",
      "provider": "osv",
      "references": [
        "https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40595.json",
        "https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mq7q-6xh6-5649",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40595"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40595.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40595",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505710,
  "published_at": "2026-04-30T18:21:28.551+00:00"
}