CVE-2026-85736: Chartbrew arbitrary file deletion via connection cleanup

CVE-2026-85736 · Severity: high · CVSS 8.1 · Published 2026-11-06

Chartbrew is an open-source web application that connects to databases and APIs to create charts. Prior to version 5.2.3, an authenticated user with basic team permissions could store malicious file paths in database connections, then delete those connections to trigger uncontrolled file deletion on the server. This could result in deletion of critical application files or environment configurations, causing service outage or data loss.

Technologies: Chartbrew. Vendors: Chartbrew.

Quick answers

Is CVE-2026-85736 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85736 being exploited in the wild.
How severe is CVE-2026-85736?
High severity, with a CVSS score of 8.1, published 6 November 2026.
Which products and versions are affected?
Chartbrew before 5.2.3.
Is there a fix for CVE-2026-85736?
Yes: fixed in 5.2.3. Until then: Restrict team member permissions to prevent createOwn and deleteOwn operations until the update can be applied, or run the application with a non-root process user to limit the scope of deletable files. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-85736 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-85736?
Check whether you run Chartbrew at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 5.2.3

Restrict team member permissions to prevent createOwn and deleteOwn operations until the update can be applied, or run the application with a non-root process user to limit the scope of deletable files.

Technical details

The vulnerability exists in the connection cleanup routine, which passes user-supplied SSL or SSH file paths directly to fs.unlink without path validation. An attacker with createOwn and deleteOwn permissions (granted by default to self-signup users) can store an absolute path to any file in a connection object and then delete the connection to trigger cleanup. On default containerized deployments running as root (uid 0), this allows deletion of any file; on less-privileged deployments, the attack is limited by process permissions. The fix restricts connection file operations to Chartbrew-managed storage directories.

Affected products

  • Chartbrew Chartbrew before 5.2.3

Timeline

  • 2026-11-06: disclosed
  • 2026-07-18: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.