---
id: "CVE-2026-68935"
page: "https://infrastack.ai/live/CVE-2026-68935"
kind: "vulnerability"
aliases: ["CVE-2026-68935"]
title: "Chartbrew: API connections can reach internal services through a private-host override"
severity: "critical"
cvss: 9.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["chartbrew", "internal-network", "package", "self-hosted"]
not_affected_if: ["auth-required", "patched-version"]
published_at: "2026-11-06T22:17:59+00:00"
first_seen_at: "2026-11-06T22:44:32+00:00"
updated_at: "2026-11-06T22:44:43+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68935", "first_seen_at": "2026-11-06T22:44:32+00:00"}]
exploit_sources: []
---

# Chartbrew: API connections can reach internal services through a private-host override

Link for people: https://infrastack.ai/live/CVE-2026-68935 (this .md is for agents)

Chartbrew, a self-hosted charting app, lets an authenticated user set an internal allowPrivateHost flag on API connections, which an upgrade migration also turns on for existing connections. Successful exploitation lets requests reach internal HTTP services reachable from the Chartbrew server, possibly disclosing data or triggering unauthorized actions.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Chartbrew version in the deployed package.json or release tag: versions `4.8.5` through `5.2.2` are in the affected range.
- Look for API connections with the allowPrivateHost field enabled in the database.
- Confirm whether `CB_ALLOW_PRIVATE_NETWORK_CALLS` is set, since the per-connection override takes precedence over it.

## Fix

- Chartbrew: upgrade to `5.2.3`.

## Timeline

- 2026-11-06T22:44:32+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-68935

## Documents

- [advisory] Vendor advisory: github.com https://github.com/chartbrew/chartbrew/security/advisories/GHSA-4q3v-5r7x-58q2
- [fix] Patch: github.com https://github.com/chartbrew/chartbrew/commit/78f49f4fc2781dc3f33f102b1daeddf22225bce4
- [fix] Release notes: github.com https://github.com/chartbrew/chartbrew/releases/tag/v5.2.3

## From the sources

Chartbrew is an open-source web application for creating charts from databases and APIs. In versions 4.8.5 through 5.2.2, API connection creation and update operations accept the internal  allowPrivateHost  field from user input. An authenticated user with permission to manage API connections can enable this field to bypass private and reserved-network destination restrictions. An upgrade migration also enables the override on pre-existing API connections. The per-connection setting takes precedence over  CB_ALLOW_PRIVATE_NETWORK_CALLS , so disabling that instance option does not protect connections with the override enabled. Successful exploitation allows requests to internal HTTP services reachable from the Chartbrew server, potentially disclosing information or triggering unauthorized actions depending on the target service. Recognized cloud metadata endpoints remain separately blocked. This issue is fixed in version 5.2.3.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
