CVE-2026-40601
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 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.
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 confidenceChartbrew 4.9.0 exposes POST /api/chart/:chart_id/query without authentication. The endpoint only checks team.allowReportRefresh but fails to verify the chart belongs to a public report, the project is public, or sharing policy permits the operation. An unauthenticated attacker with a chart ID can refresh and exfiltrate data from private charts.
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 installation and versionLocate the Chartbrew installation and check its version. For npm installations: check package.json or run `npm list chartbrew`. For Docker: check the image tag. For deployed instances: access the application or check configuration files for version information.Affected if Version is 4.9.0 exactly or falls within the 4.x range before 5.0.0
-
Verify the /api/chart/:chart_id/query endpoint is accessibleSend a POST request to the endpoint with a valid chart ID but without any authentication credentials. Example: `curl -X POST https://your-chartbrew-server/api/chart/CHART_ID/query` with no Authorization header.Affected if The endpoint returns a 200 or any data response instead of requiring authentication (401/403)
-
Check team.allowReportRefresh configurationIf you have admin access, inspect the team settings or database records for the `allowReportRefresh` flag. This setting is checked by the vulnerable endpoint but is insufficient for proper security.Affected if allowReportRefresh is enabled (true) on teams that own the charts being queried
-
Determine if charts are in public reports or public projectsReview the chart and project configurations. Check if the chart belongs to a report marked as public, or if the parent project has public sharing enabled.Affected if Charts are in private reports, private projects, or have no explicit sharing policy defined, yet the query endpoint remains accessible without auth
A user is affected if running Chartbrew version 4.9.0 (or any 4.x version before 5.0.0) and the /api/chart/:chart_id/query endpoint accepts unauthenticated requests, regardless of whether the underlying report or project is intended to be private.
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 Chartbrew version 5.0.0 or later which includes proper authentication and authorization validation for the endpoint.
5.0.0
- Backup your current Chartbrew installation and database
- Review the Chartbrew 5.0.0 release notes for any breaking changes or migration requirements
- Stop the running Chartbrew service
- Update Chartbrew to version 5.0.0 (e.g., via npm install [email protected] or by pulling the new container image)
- Run any database migrations if required by the 5.0.0 release
- Verify the /api/chart/:chart_id/query endpoint now properly enforces authorization
- Restart the Chartbrew service
- Test that unauthenticated requests to the query endpoint are rejected for private charts
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.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 $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-40601 — 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-40601 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