Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain default or known CB_SECRET
-
ExploitForge HS256 Chart-subject token
-
ExecutionEnumerate sequential chart ids
-
ImpactRead private chartData unauthenticated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Two concrete preconditions must hold: (1) the deployment signs share/embed tokens with a known or default CB_SECRET - Chartbrew ships the fixed default 'change_to_random_string' and never auto-generates it, so stock source installs and the repository 'docker compose' install qualify; and (2) the target private chart has been shared at least once so a share-policy row (entity_id) exists. Given both, an unauthenticated remote attacker forges a Chart-subject token and reads private chartData via the share-token route or the POST /project/:id/chart/:id/filter route, the latter needing only sequential integer ids and no share link. Limiting factors: bare 'docker run' installs where CB_SECRET is undefined are outside the vulnerable path; a unique, unpredictable, secret value excludes exploitation only for as long as that secret remains unknown; and charts that have never been shared have no policy row to target. Token expiry and revocation provide no protection once the secret is known. |
| Impact | The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a network-reachable, unauthenticated confidentiality-only breach, and the CWE-347 signature-verification failure is the direct cause. vuln.today assigns a 'this_week' decision label - serious but short of act_now/emergency - consistent with the absence of a CISA KEV listing and no EPSS score in the provided data. No active-exploitation signal is present; however, the GHSA advisory (GHSA-3chp-cr6f-hp63) documents a live-verified, step-by-step reproduction, so a public PoC reference exists even though no packaged weaponized exploit is confirmed. The real risk is conditional but sharp: the fixed default secret 'change_to_random_string' is public knowledge, so any stock source or repo docker-compose install that has not changed CB_SECRET is effectively exploitable by anyone, and the integer-id enumeration path means arbitrary private charts can be read without a share link. Mitigating the headline score: EPSS/KEV are both absent, exploitation needs a known/default secret plus at least one existing share-policy row, bare 'docker run' installs (CB_SECRET undefined) are out of scope, and a unique unpredictable secret excludes the attack while it stays secret. The dominant uncertainty is deployment-side configuration (whether operators changed CB_SECRET), which is not knowable from the CVE data - so for default deployments treat this as a genuine priority, while hardened installs with a strong secret are lower urgency. |
| Exploit ScenarioDerived | An unauthenticated attacker learns the deployment's CB_SECRET (the shipped default 'change_to_random_string' on stock source/docker-compose installs), forges an HS256 token with subject type 'Chart' for a target chart id, and requests the private chart's data over the network. Because the filter-access route accepts sequential integer ids with no legitimate share link, the attacker simply enumerates chart ids to read arbitrary private chartData in single, read-only requests; a live-verified PoC reference is published in the GHSA advisory. Attack complexity is low and no user interaction is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Unauthenticated disclosure of private chart data in Chartbrew 5.2.2 and earlier is possible because chart share and embed JWTs are signed with CB_SECRET, which ships as the fixed default value 'change_to_random_string' and is never auto-generated, so stock source installs and the repository Docker Compose install are affected. An attacker who knows that value forges an HS256 Chart-subject token and reads any private chart's chartData - through the share-token route, or through POST /project/:id/chart/:id/filter using only sequential integer ids and no legitimate share link - as long as the target chart has been shared at least once so a share-policy row exists. The GitHub security advisory (GHSA-3chp-cr6f-hp63) provides a live-verified reproduction of both read paths; the issue is fixed in 5.2.3, and no CISA KEV listing or other confirmation of active exploitation was supplied with this data.
RemediationAI
Upgrade to Chartbrew 5.2.3, which is the vendor-released fix (commit 07fff78db39e1c073a0301ac382c565268824e09, release v5.2.3, advisory GHSA-3chp-cr6f-hp63). After upgrading, use the chart and dashboard sharing UI to generate new links for every existing share policy - links created before the upgrade are shown with a warning and are restricted, and the token is only reissued for policies at token_version 2. Keep CB_ALLOW_LEGACY_SHARE_TOKENS (and CB_ALLOW_LEGACY_SHARE_TOKENS_DEV) set to 0, the new default, and enable it only temporarily if an in-flight migration genuinely requires accepting old tokens, since doing so re-exposes the forgeable-token path for the duration. Because the default CB_SECRET 'change_to_random_string' is public knowledge, set a unique, unpredictable value on source and docker-compose installs; note the configuration comment in the fix that this secret is now treated as a legacy value used to decrypt existing data and should stay stable, so changing it can affect decryption of data already encrypted under the old value - validate against a backup before rotating. Rotating the secret alone is not a complete fix, since token expiry and revocation offer no protection once the key is known; patching plus reissuing share links is required.
Affected VersionsENISA
Affected Packages
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
The root cause is CWE-347 (improper verification of a cryptographic signature). Chartbrew signs public share/embed tokens with settings.secret (CB_SECRET) in server/controllers/ChartController.js and ProjectController.js and verifies them with jwt.verify(token, settings.secret) without an algorithms allow-list, so the verification trusts whatever the shipped secret happens to be. Because CB_SECRET defaults to the fixed string 'change_to_random_string' and is not generated by setUpEncryptionKeys.js, the HS256 signing key is public knowledge on a stock deployment. The Chart branch of findBySharePolicy checks only that sub.type is 'Chart' and sub.id matches the share policy's entity_id; it enforces no project.public and no visibility gate before returning getEmbeddedChartData, including chartData - even though the model documents private charts as viewable only with a signed URL. checkFilterAccess (server/api/ChartRoute.js) grants equivalent access using only sequential integer ids with no project.public or onReport gate. A 99999-day token lifetime and the absence of secret rotation mean a 'private' share cannot be revoked once the secret is known. The fix introduces versioned tokens (token_version >= 2), adds a CB_ALLOW_LEGACY_SHARE_TOKENS migration switch that defaults to 0, flags old links in the UI, and requires generating a new link. Two preconditions must hold for exploitation: a known or default CB_SECRET, and an existing share-policy row for the targeted chart.
Know when Docker 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable and unauthenticated on default installs where the shipped secret is public (PR:N, AC:L); read-only disclosure of private chart data gives C:H with no integrity or availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to 5.2.3, Chart share and embed tokens were signed with CB_SECRET, including known or shipped-default values in stock source and repository Docker Compose installs. The vulnerable surface is chart share-token verification and filter-access routes for private charts. An attacker who knows the deployment's CB_SECRET targets a private chart that has been shared at least once so a share-policy row exists, then forges a Chart-subject token for that chart id. The known signing key permits valid Chart tokens, and the filter-access path accepts sequential integer ids without requiring a legitimate share link; token expiry and revocation are ineffective once the secret is known. The condition requires a known or default secret and an existing share-policy row. A bare container where CB_SECRET is undefined is outside this path, and a unique secret excludes it only while the value remains unknown and unpredictable. An unauthenticated attacker can enumerate integer ids and read arbitrary private chart data, including chartData, without possessing a legitimate share link. This issue is fixed in version 5.2.3.
Articles & Coverage 1
Technical POC Analysis
CWE-347, improper verification of a cryptographic signature - here realized as signature verification with a publicly known key, compounded by a missing authorization gate downstream of that check.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Chartbrew versions 5.2.2 and earlier contain a high-severity flaw that allows unauthenticated attackers to read private chart data due to a default hardcoded signing secret. Any organization running a stock source install or the repository Docker Compose deployment is exposed, potentially leaking sensitive business data and undermining customer trust.
Apply vendor patch. If patching is delayed: immediately replace the default CB_SECRET with a randomly generated strong secret, restrict network access to Chartbrew instances, and monitor for unauthorized chart data access.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-118503
NVD
CVE.org
EPSS
GitHub
Exploit-DB