Description
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, a date-typed MongoDB variable placed inside a quoted query placeholder was inserted as an unescaped string, unlike the safely escaped or coerced string, number, and Boolean branches. The vulnerable surface is mongoDB-backed public, shareable, or embedded charts processed by date-variable substitution. An unauthenticated user supplies a crafted URL filter to a public, shareable, or embedded MongoDB chart whose query places a date-typed variable in a quoted literal. The crafted date value breaks out of the quoted literal and changes query logic; the chart's returned row count becomes a Boolean oracle for character-by-character field extraction. The chart must be externally reachable and use the vulnerable date-in-quoted-placeholder branch. Extraction is read-only and limited to one queried collection per request, and it requires neither an account nor a known field value. The blind oracle can disclose any field in the queried collection, including secrets the chart does not display. This issue is fixed in version 5.2.3.
Published: 2026-11-06
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Read-Only Blind NoSQL Injection
Action: Patch Now
AI Analysis

Impact

Chartbrew is an open‑source web application that can connect directly to databases and APIs to build charts. Until version 5.2.3, a date-typed variable in a MongoDB query that was placed inside a quoted placeholder was inserted without escaping. When a public, shared or embedded chart uses this vulnerable path, an unauthenticated user can provide a crafted URL filter that injects characters to break out of the quoted literal. This turns the query logic into an oracle; the chart's returned row count becomes a Boolean response that can be queried character by character, allowing the attacker to exfiltrate any field in the targeted collection, including secrets that are not shown in the chart.

Affected Systems

All public, shared or embedded Chartbrew charts that rely on MongoDB queries with a date variable inside a quoted placeholder, on any Chartbrew release prior to version 5.2.3, are affected. This includes the default installation of Chartbrew where these charts are publicly reachable.

Risk and Exploitability

The vulnerability has a CVSS score of 7.5, indicating moderate to high severity. EPSS information is not available, so the exact exploitation probability cannot be quantified, and the issue is not listed in CISA's KEV catalog. The attack does not require authentication, database credentials or prior knowledge of a field value; it only requires an externally reachable, vulnerable chart URL. The blind oracle can extract data from a single queried collection per request, making the risk significant for any sensitive information exposed in those collections.

Generated by OpenCVE AI on November 6, 2026 at 22:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the chartbrew patch v5.2.3 or later to remove the vulnerable date‑in‑quoted placeholder implementation.
  • Disable or restrict public, shared, or embedded charts that perform MongoDB queries until the patch is applied, ensuring that only authenticated and trusted users can access them.
  • Implement network or application layer controls to limit exposure of chart URLs, such as firewall rules or OAuth protection, to reduce the attack surface for unauthenticated users.

Generated by OpenCVE AI on November 6, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Chartbrew
Chartbrew chartbrew
Vendors & Products Chartbrew
Chartbrew chartbrew

Fri, 06 Nov 2026 21:15:00 +0000

Type Values Removed Values Added
Description 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, a date-typed MongoDB variable placed inside a quoted query placeholder was inserted as an unescaped string, unlike the safely escaped or coerced string, number, and Boolean branches. The vulnerable surface is mongoDB-backed public, shareable, or embedded charts processed by date-variable substitution. An unauthenticated user supplies a crafted URL filter to a public, shareable, or embedded MongoDB chart whose query places a date-typed variable in a quoted literal. The crafted date value breaks out of the quoted literal and changes query logic; the chart's returned row count becomes a Boolean oracle for character-by-character field extraction. The chart must be externally reachable and use the vulnerable date-in-quoted-placeholder branch. Extraction is read-only and limited to one queried collection per request, and it requires neither an account nor a known field value. The blind oracle can disclose any field in the queried collection, including secrets the chart does not display. This issue is fixed in version 5.2.3.
Title Chartbrew: Blind NoSQL injection via date variable in embedded chart
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Chartbrew Chartbrew
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-06T21:08:18.807Z

Reserved: 2026-09-04T14:45:10.648Z

Link: CVE-2026-85726

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-06T21:17:11.567

Modified: 2026-11-06T21:17:11.713

Link: CVE-2026-85726

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T22:45:11Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic