High severity · published Apr 30, 2026
CVE-2026-40904
Chartbrew: Incorrect Access Control in dataset and dataRequest routes via team-scoped permission checks
8.1
CVSS
0.2%
EPSS
No
On KEV
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 multiple dataset and dataRequest endpoints that authorize low-privileged project members at the team level instead of binding the requested dataset_id, dataRequest id, and connection_id to the caller's allowed projects. An authenticated attacker who only has access to one project inside a team can read, execute, create, update, and delete datasets and data requests that belong to other projects in the same team. The issue is exploitable remotely with ordinary project-level credentials and leads to cross-project data disclosure and unauthorized use of victim-side database or API connections. This issue has been patched in version 5.0.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CH
chartbrew · chartbrew
= 4.9.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40904
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40904
github.com
https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0
github.com
https://github.com/chartbrew/chartbrew/security/advisories/GHSA-jq95-gqww-vhm3
More from chartbrew
9.8
CVE-2026-27005
Chartbrew: SQL injection in date-type variable handling (applyMysqlOrPostgresVariables)
9.6
CVE-2026-30232
Chartbrew has SSRF in API Data Connection - No IP Validation on User-Provided URLs
8.8
CVE-2026-25888
Chartbrew: Remote Code Execution (RCE) via Vulnerable API
8.1
CVE-2026-40600
Chartbrew: Incorrect Access Control in project share policy routes via unbound policy_id
7.9
CVE-2026-65980
Chartbrew: SQL Injection via Missing Backslash Escaping in ClickHouse Variable Substitution
