CVE-2026-85726

Chartbrew: Blind NoSQL injection via date variable in embedded chart

Published Nov 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Chartbrew
Chartbrew chartbrew
Vendors & Products Chartbrew
Chartbrew chartbrew
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'}

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 11, 2026, 3:34 AM
Reserved
Sep 4, 2026, 2:45 PM
Status
Deferred
Published
Nov 6, 2026, 9:17 PM
Modified
Nov 11, 2026, 5:19 AM