Skip to main content

Chartbrew CVE-2026-40600

| EUVDEUVD-2026-26408 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-04-30 GitHub_M
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Chartbrew
  2. Delivery
    Enumerate policy_id values via API responses
  3. Exploit
    Craft cross-project SharePolicy modification request
  4. Execution
    Bypass authorization check
  5. Persist
    Modify target dashboard access controls
  6. Impact
    Access restricted dashboards

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Attacker must possess valid authenticated credentials to any project within the Chartbrew instance (PR:L indicates low-privilege user account required). The vulnerable Chartbrew instance must host multiple projects-exploitation is meaningless in single-project deployments. The SharePolicy API endpoints must be network-accessible to the attacker (AV:N), which is default configuration for typical web deployments. Critically, the attacker must know or be able to enumerate valid policy_id values for target projects, achievable through predictable integer IDs, API response observation, or brute-force enumeration if rate limiting is absent. No special deployment configuration or non-default features are required-this affects standard multi-project Chartbrew installations. User interaction is not needed (UI:N). Exploitation is limited by the attacker's ability to authenticate and reach the API, but not by project membership boundaries, which is the core authorization failure.

Impact

CVSS 8.1 (AV:N/AC:L/PR:L/UI:N) indicates network-accessible exploitation by any authenticated low-privilege user with no technical barriers. Attack complexity is LOW because it requires only crafting API requests with arbitrary policy_id values-no special tooling or race conditions needed. However, real-world risk heavily depends on deployment model and organizational context. In single-organization self-hosted deployments where all users are trusted employees, this is primarily an insider threat concern with limited blast radius. In multi-tenant SaaS scenarios or instances hosting multiple external clients, this becomes a critical cross-tenant data exposure and integrity issue. The High Confidentiality and Integrity impacts (C:H/I:H) are accurate: attackers can expose private dashboards by removing passwords, extend access beyond intended expiration dates, or lock out legitimate users by setting restrictive parameters. Scope is Unchanged (S:U), meaning compromise is confined to Chartbrew's authorization boundary. No Availability impact (A:N) because attackers cannot crash the service, only manipulate access controls. EPSS score unavailable for assessment. No CISA KEV listing and no public exploit identified at time of analysis, suggesting this was responsibly disclosed via GitHub Security Advisories before widespread awareness. Exploitation is highly automatable once an attacker identifies the vulnerable endpoints-simple scripting can enumerate and modify all SharePolicy records across projects. SSVC assessment: Exploitation status is none public (GitHub advisory only), technical impact is partial (access control violation but not RCE), automatable is yes (API-based IDOR). Priority depends on deployment context: urgent for multi-tenant/SaaS operators, moderate for single-org deployments with untrusted internal users.

Exploit ScenarioDerived

An authenticated attacker with low-privilege access to ProjectA discovers the SharePolicy management API endpoints through browser developer tools or API documentation. They enumerate policy_id values by inspecting API responses or incrementing integer IDs, identifying SharePolicy records belonging to ProjectB (which they cannot normally access). The attacker crafts an HTTP PUT request to /api/projects/ProjectA/sharepolicy with a body containing ProjectB's policy_id, changing the dashboard's visibility from private to public and removing password protection. Because the authorization logic only verifies the attacker has access to ProjectA (from the URL path), the update succeeds despite targeting ProjectB's resource. The attacker now has unrestricted access to ProjectB's sensitive business intelligence dashboards without ever being granted legitimate access to that project.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 30, 2026

Authenticated users in Chartbrew 4.9.0 can modify or delete dashboard sharing policies across projects they don't own due to insufficient authorization checks. An attacker with legitimate access to one project can manipulate SharePolicy records (visibility settings, passwords, allowed parameters, expiration dates) for dashboards in any other project within the same Chartbrew instance. While CVSS rates this 8.1 HIGH, real-world risk depends heavily on multi-tenancy deployment: single-organization instances face lower insider threat exposure than multi-tenant SaaS scenarios. EPSS data not available. No public exploit identified at time of analysis, though exploitation requires only basic authenticated API access.

RemediationAI

Upgrade immediately to Chartbrew version 5.0.0, released on the project's GitHub repository at https://github.com/chartbrew/chartbrew/releases/tag/v5.0.0. According to the release notes, no manual migration is required and v4 users can update like any other version, though upgrading to Node.js v22+ is recommended. The fix implements proper authorization checks to verify that policy_id parameters belong to the project_id in the request path before allowing modification or deletion operations. For organizations unable to upgrade immediately, implement compensating controls at the reverse proxy or API gateway layer: add request validation middleware that queries the database to confirm policy_id ownership before forwarding PUT/PATCH/DELETE requests to SharePolicy endpoints (this adds latency and database load but prevents exploitation). Alternatively, restrict API access to SharePolicy routes using firewall rules or application-level ACLs to trusted administrator IPs only (this breaks legitimate multi-user workflows and is not sustainable long-term). Both workarounds are brittle and should be replaced with the official patch as soon as possible. Review SharePolicy audit logs for suspicious cross-project modifications between the 4.9.0 release date and your upgrade timestamp.

Affected VersionsENISA

chartbrew = 4.9.0

Affected Packages

euvd chartbrew no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is an Insecure Direct Object Reference (IDOR) vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) in Chartbrew's SharePolicy management API. The application uses a web framework that authorizes API calls based on the project_id in the URL path but fails to validate that the policy_id parameter in the request body belongs to that same project. This broken object-level authorization allows horizontal privilege escalation across tenant boundaries. SharePolicy records control critical security functions for dashboard sharing: public visibility flags, password protection, parameter whitelisting, and time-based access expiration. The vulnerability exists in RESTful API endpoints (likely PUT/PATCH and DELETE routes) that accept both project_id (path parameter) and policy_id (body/query parameter) without cross-referencing them in the authorization layer.

Know when Chartbrew gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionGitHub Advisory

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 allows authenticated users with access to one project to update or delete a SharePolicy record that belongs to a different project. The affected routes authorize the caller against the project in the URL path, but they never verify that policy_id belongs to that project. This permits cross-project modification of dashboard sharing rules, including visibility, password requirements, allowed parameters, and expiration settings. This issue has been patched in version 5.0.0.

Executive ViewAI

Why It Matters

Chartbrew 4.9.0 contains an authorization flaw allowing authenticated users to modify or delete dashboard sharing policies across projects they do not own, potentially exposing sensitive data visibility settings and access controls. This vulnerability poses significant risk in multi-tenant or shared-instance deployments where users from different organizational units have legitimate access, as insiders or compromised accounts could alter sharing policies to gain unauthorized visibility into other teams' dashboards.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network-level restrictions on API endpoints handling SharePolicy modifications (/api/share* endpoints) to authorized admin IPs only; (2) Deploy API gateway or WAF rules to enforce user-project membership validation before allowing policy updates; (3) Enable audit logging on all SharePolicy modifications and alert on cross-project changes; (4) Reduce attack surface by restricting authenticated API access to necessary service accounts only; (5) If multi-tenant: implement namespace/tenant isolation at database level to prevent cross-tenant policy queries.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-27005 CRITICAL POC
9.8 Mar 06

SQL injection in Chartbrew before 4.8.3. PoC available.

CVE-2026-25888 HIGH POC
8.8 Mar 06

Remote code execution in Chartbrew prior to version 4.8.1 allows authenticated attackers to execute arbitrary code throu

CVE-2026-27603 HIGH POC
7.5 Mar 06

Chartbrew versions up to 4.8.4 is affected by missing authentication for critical function (CVSS 7.5).

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2026-25877 MEDIUM POC
6.5 Mar 06

Chartbrew versions before 4.8.1 fail to validate chart ownership during modification operations, allowing authenticated

CVE-2026-27605 MEDIUM POC
6.3 Mar 06

Chartbrew versions prior to 4.8.4 allow authenticated users to upload arbitrary files by bypassing file type validation,

CVE-2026-40904 HIGH
8.1 Apr 30

Horizontal privilege escalation in Chartbrew 4.9.0 allows authenticated low-privilege team members to access datasets, d

CVE-2026-65980 HIGH
7.9 Sep 21

SQL injection in Chartbrew versions prior to 5.2.3 allows an unauthenticated remote attacker to break out of an intended

CVE-2026-30232 HIGH
7.8 Apr 10

Server-Side Request Forgery in Chartbrew versions prior to 4.8.5 allows authenticated users to create API data connectio

CVE-2026-32252 HIGH
7.7 Apr 10

Cross-tenant authorization bypass in Chartbrew versions prior to 4.9.0 allows authenticated attackers to exfiltrate sens

CVE-2026-40601 HIGH
7.5 Apr 30

Unauthenticated remote attackers can access and refresh private chart data in Chartbrew 4.9.0 via an exposed API endpoin

CVE-2026-40595 HIGH
7.5 Apr 30

Chartbrew 4.9.0 allows unauthenticated attackers to access hidden chart data via authentication bypass in public chart e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy