Skip to main content

Chartbrew EUVDEUVD-2026-118505

| CVE-2026-85726 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-06 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain public/embedded chart share link
  2. Delivery
    Send crafted date URL parameter
  3. Exploit
    Break out of quoted literal, splice $regex filter
  4. Execution
    Read row count as boolean oracle
  5. Impact
    Extract collection fields character-by-character

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Requires a Chartbrew instance (<= 5.2.2) with a MongoDB data connection and at least one chart that is public, shareable, or embedded AND whose query places a date-typed variable inside a quoted literal (e.g. createdAt: "{{d}}") - the natural pattern for a date filter. The embed route GET /chart/:share_string/embedded needs no token and no allow_params gate, forwarding arbitrary URL query parameters as runtime variables, so no account or known field value is needed. Limiting factors: the vulnerable date-in-quoted-placeholder branch must actually be used (string/number/boolean variables are safely escaped/coerced and are not affected), the chart must be externally reachable, and SQL datasources are unaffected; impact is read-only and scoped to a single queried collection per request.

Impact

This is a credible near-term priority rather than an inflated high-CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H) is internally consistent with the GHSA description and the commit diff: an unauthenticated network attacker with only an embed link triggers blind NoSQL injection (CWE-943) against MongoDB-backed public/shareable/embedded charts, with no authentication and no user interaction. The vuln.today decision label is 'this_week', which aligns with a reliably reproducible, low-complexity, unauthenticated confidentiality bug. No EPSS score and no CISA KEV entry were provided, so exploitation is not confirmed to be active in the wild; absence of EPSS/KEV data means widespread automated exploitation cannot be asserted - treat the urgency as driven by ease of exploitation and public technical detail, not by observed mass attacks. The GHSA advisory contains a complete, live-verified reproduction (exact HTTP requests extracting an unprojected password field), which substantially lowers the bar for an attacker even though no separately packaged weaponized exploit is cited in the input. Impact is bounded: read-only, one collection per request, confidentiality-only (I:N/A:N), so the practical severity is data disclosure, not takeover.

Exploit ScenarioDerived

A MongoDB-backed Chartbrew chart is made public, shareable, or embedded, with a date-typed variable used inside a quoted query literal (e.g. createdAt: "{{d}}"). An unauthenticated attacker with only the embed link supplies a crafted date value via a URL parameter that breaks out of the quoted literal, splices in $regex/$ne conditions, and comments out the query tail, turning the returned row count into a boolean oracle to extract any field - including secrets the chart never displays - character by character. A detailed, live-verified reproduction (including anonymous extraction of a password field) is published in the GHSA advisory, so working exploit steps are effectively public.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Blind NoSQL injection in Chartbrew through 5.2.2 lets an unauthenticated remote attacker extract arbitrary fields - including values the chart never displays - from the MongoDB collection behind any public, shareable, or embedded chart whose query places a date-typed variable inside a quoted literal. The embed route GET /chart/:share_string/embedded requires no token and forwards every non-special URL query parameter as a runtime variable, so a crafted date value breaks out of the quoted literal and the chart's returned row count becomes a boolean oracle for character-by-character extraction. A public advisory with live-verified reproduction steps exists; impact is read-only and limited to one collection per request, and the vendor fixed the issue in 5.2.3.

RemediationAI

Upgrade to Chartbrew 5.2.3 (release tag v5.2.3, fixing commit 9e30fbd0d4a34033813a22bebb6fa6c9ae784d6b), which replaces the raw date substitution with JSON-serialized string escaping and rewrites the whole quoted literal - see the advisory at https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mr45-2r9x-cgwf. Because the attack surface is defined by the prerequisites rather than by a switchable feature, exposure can be reduced until patching by breaking one of them: set every MongoDB-backed chart that uses a date-typed variable inside a quoted literal to private (clear public/shareable) and retire its embed link, which removes anonymous access to GET /chart/:share_string/embedded at the cost of disabling legitimate sharing and embedding for those charts; or change the variable's type from date to string, since the string branch escapes quotes, accepting that comparisons in the query become string-based rather than date-based. Blocking anonymous requests to /chart/*/embedded at a reverse proxy is an additional containment option only for deployments where embeds are not needed, and it will break any legitimate embedded charts. Note that the post-substitution acorn validator does not block this attack, so it should not be relied on as a mitigation. SQL datasources and charts that do not use the quoted date-variable pattern require no action for this CVE.

Affected VersionsENISA

chartbrew < 5.2.3

Affected Packages

euvd chartbrew fix: 5.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-943 (improper neutralization of special elements in data query logic), located in Chartbrew's MongoDB source plugin at server/sources/plugins/mongodb/mongodb.protocol.js. Chartbrew builds MongoDB queries as strings and substitutes chart variable placeholders; the string, number and Boolean branches escape or coerce their runtime values, but the date branch inserted String(runtimeValue) verbatim when the placeholder sat inside a quoted literal (the natural pattern for a date filter such as createdAt: "{{d}}"). The substituted query is then re-validated by an acorn-based allow-list in server/modules/validateMongoQuery.js, but that validator requires only a single db.collection().method() call chain with literal arguments while still permitting Mongo operators ($regex, $ne, $gt) as string object keys and permitting // line comments - so the attacker's breakout survives validation. Reachability comes from GET /chart/:share_string/embedded (server/api/ChartRoute.js, ChartController.findByShareString), which gates solely on chart.public || chart.shareable with user=null and forwards every non-special query parameter as a runtime variable with no token and no allow_params gate. The upstream fix replaces per-branch escaping with a serializeMongoString() helper built on JSON.stringify (plus escaping of U+2028/U+2029) and, when the placeholder is already quoted, makes the replacement target include the surrounding quote characters so the whole quoted literal is rewritten; regression tests cover both a quoted date breakout payload and quoted string/date defaults. SQL datasources are not affected by this branch, and the unquoted-placeholder path and string/number/Boolean branches were already safe.

Know when MongoDB gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Unauthenticated remote attacker exploits an exposed embed endpoint with no interaction (AV:N/AC:L/PR:N/UI:N); read-only blind extraction gives C:H with no integrity or availability impact (I:N/A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 22:03 EUVD
CVE Published
Nov 06, 2026 - 21:17 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) - here, a NoSQL injection reached through a variable-substitution helper rather than a raw request body.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Chartbrew versions through 5.2.2 are vulnerable to a blind NoSQL injection that allows an unauthenticated attacker to extract sensitive data from MongoDB collections behind public or embedded charts. Because the attack is read-only and requires no credentials, any organization exposing Chartbrew dashboards externally is at risk of data leakage. Leadership should prioritize immediate mitigation to protect confidential information and maintain customer trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche open-source self-hosted BI/charting tool, limited enterprise footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy