Live threats

All CVEs / chartbrew

CVE-2026-85295chartbrew

Unauthenticated User Impersonation in Chartbrew via Weak JWT Token

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Nov 6, 2026
Updated
Nov 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1394
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Chartbrew prior to 5.2.3 accepts session JWT tokens signed with weak, known, or default CB_SECRET values across multiple authentication modules. An attacker can forge an HS256 token to impersonate any user without password or two-factor authentication, gaining full access to the API and socket layer. This affects Docker Compose deployments with default or weak CB_SECRET configuration.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.2.3

Update Chartbrew to version 5.2.3 or later and set a strong, unique CB_SECRET in your configuration.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for chartbrew.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.