{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "= 4.9.0"
              },
              {
                "last_affected": "= 4.9.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "7cf1713c5a14d36cf88f4e5f467ddc74d7c6f600"
            },
            {
              "last_affected": "7cf1713c5a14d36cf88f4e5f467ddc74d7c6f600"
            }
          ],
          "repo": "https://github.com/chartbrew/chartbrew",
          "type": "GIT"
        }
      ],
      "versions": [
        "= 4.9.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-cpr6-mhgm-893w"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40601.json"
  },
  "details": "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.",
  "id": "CVE-2026-40601",
  "modified": "2026-08-04T11:30:53.936662442Z",
  "published": "2026-04-30T18:22:43.557Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40601.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/chartbrew/chartbrew/security/advisories/GHSA-cpr6-mhgm-893w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40601"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Chartbrew: Missing Authorization in /api/chart/:chart_id/query via team-level refresh toggle"
}