CVE-2026-85295
chartbrew
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-85295 is a critical-severity Use of Default Cryptographic Key (CWE-1394) vulnerability in chartbrew (named in the CVE record; NVD lists no product yet). Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and SC-12 (Cryptographic Key Establishment and Management) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-118502
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Requiring the most restrictive configuration settings prohibits the use of known default cryptographic keys.
Cryptographic key establishment and management requires generating and provisioning unique keys rather than relying on manufacturer defaults.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Configuration management directly prohibits default keys via hardened baselines and change control.
Credential/key management practices eliminate default cryptographic keys for identities and services.
Strong authentication requirements implicitly disallow default keys but do not address key management itself.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Enforces secure configuration baselines that should replace default keys.
A.8.24's key management section explicitly mandates generating keys for cryptographic systems and changing/updating keys, so applying it where it was not applied before requires replacing default keys with properly generated ones — the default-key weakness stops being present. The bounded remainder is third-party products and embedded systems where key replacement is not technically possible, which is nameable but does not vanish.
A.8.29's testing programme (code review, static analysis, vulnerability scanning, penetration testing) covers the main detection routes for default cryptographic keys — hardcoded keys are caught by SAST and code review, configuration-resident defaults by configuration testing, and documented defaults by penetration testing with known values. The remainder is bounded and parallels the CWE-798 anchor: keys assembled at build time, baked into images as configuration, or shipped inside binary-only third-party components where only manual binary analysis rates High.
A.5.17 mandates that default vendor authentication information be changed immediately after installation, which prevents the weakness from persisting in new deployments but does not remove a default cryptographic key already in use on an existing system.
A.5.37 mandates that operating procedures be documented; it does not itself change default cryptographic keys or mandate that they be changed. Any preventive effect comes from a different control (e.g. A.8.9) that the documented procedure would reference, and a clause requiring another control to exist does not inherit its effect.
Training raises awareness that default keys must be changed and that products should not ship with hardcoded defaults, addressing the knowledge gap on both the developer and administrator sides, but the design decision to include default keys and the operational act of changing them are governed by configuration management (A.8.9), which carries the strong effect; training moves a minority of instances.