CVE-2026-40595
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedChartbrew 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is an Insecure Direct Object Reference (IDOR) vulnerability in Chartbrew 4.9.0 where public chart retrieval and export routes only verify project-level public access and team-level export toggles, but fail to check whether individual charts are actually permitted on public reports or if SharePolicy allows public access. An unauthenticated attacker who knows a chart ID within a public project can read or export data from charts intentionally hidden from public reports.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Chartbrew versionCheck the installed Chartbrew version by examining package.json, a version file, or the application metadata. If using Docker, check the image tag or build information.Affected if The installed version is 4.9.0 exactly or falls within the 4.x range prior to 5.0.0
-
Verify public project access is enabledExamine the Chartbrew application configuration or database to determine if any projects have public access enabled. Look for project settings that allow unauthenticated access or public viewing.Affected if At least one project has public access enabled, creating potential entry points for unauthenticated requests
-
Identify charts hidden from public reportsReview individual chart configurations within publicly accessible projects. Check each chart's settings for permissions related to public reports or public sharing visibility.Affected if Any chart within a public project is configured to be hidden or restricted from public reports but exists in a project with public access enabled
-
Inspect SharePolicy configurationExamine the SharePolicy rules or access control settings for charts. Determine whether SharePolicy is properly enforcing chart-level public access restrictions.Affected if SharePolicy is not properly configured or is missing checks to enforce chart-level restrictions on public routes
If running Chartbrew 4.9.0 or any 4.x version before 5.0.0 with public project access enabled and charts that should be restricted from public access, the IDOR vulnerability is likely present.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to version 5.0.0 which contains the patch, or implement application-level authorization checks that verify chart-level report permissions and SharePolicy rules before returning data on public routes.
5.0.0
- Backup your current Chartbrew deployment and database before upgrading
- Upgrade Chartbrew from version 4.9.0 to version 5.0.0 using your deployment method (e.g., Docker, npm, or manual installation)
- After upgrading, verify that the application starts successfully and all services are running
- Test that public report functionality now correctly enforces chart-level access controls - confirm that charts intentionally hidden from public reports cannot be accessed by unauthenticated users
- Review the SharePolicy configuration for each project to ensure charts are properly configured for public access
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-40595 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-40595 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data