Skip to main content

Chartbrew EUVDEUVD-2026-118502

| CVE-2026-85295 CRITICAL
Use of Default Cryptographic Key (CWE-1394)
2026-11-06 security-advisories@github.com
9.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Identify Chartbrew install retaining default CB_SECRET
  2. Delivery
    Forge HS256 JWT for target user id
  3. Exploit
    Submit forged bearer token to API or socket
  4. Execution
    Legacy fallback accepts token as that user
  5. Impact
    Full account/admin takeover, data read/write/delete

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism
Exploitation Conditions

The target deployment must retain a known, weak, or shipped-default CB_SECRET. Concretely affected: stock source installs (npm run setup copies .env-template, which ships CB_SECRET=change_to_random_string under a '[deprecated]...not used anymore' comment that operators leave untouched) and the repository docker-compose install (env_file derived from the same template); setUpEncryptionKeys.js randomizes CB_ENCRYPTION_KEY but never generates CB_SECRET. Explicitly NOT affected: the README bare docker run snippet, which sets CB_ENCRYPTION_KEY but leaves CB_SECRET undefined, rendering the fallback inert. Limiting factor that reduces real-world risk: an operator who replaced CB_SECRET with a strong random value is not exploitable. Within affected configs there is no required user interaction, no authentication, and no non-default toggle - the shipped default is itself the vulnerable condition.

Impact

All non-EPSS severity signals align on high priority: the input CVSS is 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), the vuln.today Decision label is act_now, and the GHSA advisory documents live-verified, single-request, unauthenticated full account takeover (including any admin user, since user ids are sequential integers). My independent read agrees the network/unauthenticated metrics are justified BECAUSE the vulnerable state is the shipped default: stock source installs (npm run setup copies .env-template) and the repo docker-compose both retain CB_SECRET=change_to_random_string, a globally known secret, so no attacker-controlled precondition beyond knowing that public default. The one factor that tempers raw 9.8 ubiquity is that exploitability is gated on the deployment retaining a known/weak/default CB_SECRET - a bare docker run that leaves CB_SECRET undefined is explicitly NOT affected, and an operator who set a strong random CB_SECRET is also safe. No EPSS score is provided in the input, so exploitation-probability cannot be compared. There is no CISA KEV listing, so this is not confirmed active exploitation despite the act_now label. Conflicting metadata to verify: the GHSA package field states 'fixed in: not yet patched,' yet an NVD-referenced release tag v5.2.3 and fix commit da8c71f exist and the CVE description states the fix is in 5.2.3 - treat 5.2.3 as the fixed version.

Exploit ScenarioDerived

An attacker locates an internet-reachable Chartbrew instance deployed from source or the repo docker-compose that still uses the shipped default CB_SECRET ('change_to_random_string'). With no login, they craft an HS256 JWT whose payload decodes to a target user id (e.g. {"id":2}), sign it with the known secret, and present it as a bearer token; the legacy verification fallback accepts it and grants that user's full session. The GHSA advisory publishes detailed, reporter-live-verified reproduction steps (GET /user/2 returning the victim profile and POST /user/relog minting a fresh victim session), so a public PoC reference exists, though it is not distributed as standalone packaged exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 06, 2026

Chartbrew server versions through 5.2.2 accept forged HS256 session tokens signed with a known or shipped-default CB_SECRET, allowing an unauthenticated remote attacker to impersonate any user id across the API and socket layer while bypassing password and 2FA. Affected deployments are stock source installs and the repository docker-compose setup that retain CB_SECRET=change_to_random_string; the README bare docker run path is not affected because CB_SECRET is undefined. The public GHSA documents a live-verified reproduction and the vuln.today decision label is act_now; no CISA KEV entry is provided in the available data.

RemediationAI

Vendor-released patch: upgrade Chartbrew from v5.2.2 or earlier to v5.2.3. The fix commit da8c71f156aaa13fbc7ead15a4726740fef2b3c5 removes the CB_SECRET fallback and verifies session tokens only with CB_ENCRYPTION_KEY using HS256. If immediate upgrade is not possible, set CB_SECRET to a strong random value or leave it undefined where the deployment supports that, so forged tokens signed with the shipped default change_to_random_string are rejected; this neutralizes the vulnerable fallback but does not remove the code path until v5.2.3 is applied. Confirm whether the deployment is a stock source install or repository docker compose, since the README bare docker run snippet is unaffected because CB_SECRET is undefined. Advisory: https://github.com/chartbrew/chartbrew/security/advisories/GHSA-qvv4-r3q6-8797; release: https://github.com/chartbrew/chartbrew/releases/tag/v5.2.3.

Affected VersionsENISA

chartbrew < 5.2.3

Affected Packages

euvd chartbrew fix: 5.2.3

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

CWE-1394 (Use of Default Cryptographic Key) applies because Chartbrew's session authentication relies on JSON Web Tokens, and the deployment template ships a globally known symmetric secret. Legitimate sessions are signed only with settings.encryptionKey (CB_ENCRYPTION_KEY), but four middleware paths - server/modules/verifyToken.js, verifyUser.js, getUserFromToken.js, and socketManager.js - first verify with CB_ENCRYPTION_KEY and then fall back to jwt.verify(token, settings.secret), where settings.secret maps to process.env.CB_SECRET, without an algorithms allow-list. The .env-template ships CB_SECRET=change_to_random_string under a deprecated comment, and setUpEncryptionKeys.js generates CB_ENCRYPTION_KEY but never touches CB_SECRET, so stock source installs and repo docker-compose deployments keep a known key in the legacy fallback path. The fix commit da8c71f156aaa13fbc7ead15a4726740fef2b3c5 removes the fallback and centralizes verification in verifySessionToken.js using algorithms:['HS256'] against settings.encryptionKey only. Source installs via npm run setup and the repository docker-compose setup are affected; the README bare docker run snippet is not affected because CB_SECRET is undefined, and deployments where CB_SECRET was replaced with a strong random value are not exploitable. No CPE strings were supplied.

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

Vendor (github) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Stock/docker-compose installs ship a globally known default CB_SECRET, so a single remote request needs no auth (PR:N, AC:L) and yields full account/admin impersonation (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 22:03 EUVD
CVE Published
Nov 06, 2026 - 21:17 cve.org
CRITICAL 9.8

DescriptionCVE.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, four authentication helpers accepted session tokens signed with CB_SECRET, including known, weak, or shipped-default values. The vulnerable surface is session JWT fallback in server/modules/verifyToken.js, verifyUser.js, getUserFromToken.js, and socketManager.js across the API and socket layer. A stock source or repository Docker Compose deployment retains a known, weak, or default CB_SECRET and an attacker submits a forged HS256 token decoding to a target user id. Knowing the symmetric secret lets the attacker create a token that the legacy verification fallback accepts as the target user without that user's password or two-factor authentication. The condition includes stock source and repository Docker Compose installs and any otherwise known or weak CB_SECRET; a bare container where CB_SECRET is undefined is not affected by this fallback path. A forged session impersonates the chosen user across the entire API and socket layer and exercises that user's Chartbrew privileges. This issue is fixed in version 5.2.3.

Technical POC Analysis

CWE-1394: Use of Default Cryptographic Key.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Chartbrew deployments using the default CB_SECRET are exposed to unauthenticated account takeover, allowing attackers to impersonate any user, including administrators, and access sensitive analytics data. This affects stock source installations and the repository's docker-compose setup, putting customer insights and connected data sources at risk. Leadership should prioritize immediate remediation to prevent data breaches and maintain customer trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: immediately change CB_SECRET from default to a strong random value, restrict network access to Chartbrew API and socket interfaces, enable monitoring for anomalous authentication events, and consider disabling 2FA bypass by enforcing additional authentication layers if feasible.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
niche open-source charting/BI tool, limited enterprise footprint
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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