{"id":"CVE-2026-85726","state":"PUBLISHED","title":"Chartbrew: Blind NoSQL injection via date variable in embedded chart","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.","publishedAt":"2026-11-06T21:08:18.807Z","updatedAt":"2026-11-11T03:34:11.202Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["chartbrew chartbrew"],"affected":[{"vendor":"chartbrew","product":"chartbrew","versions":[{"version":"< 5.2.3","status":"affected"}]}],"references":["https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mr45-2r9x-cgwf","https://github.com/chartbrew/chartbrew/commit/9e30fbd0d4a34033813a22bebb6fa6c9ae784d6b","https://github.com/chartbrew/chartbrew/releases/tag/v5.2.3"],"weaknesses":["CWE-943"],"ingestedAt":"2026-11-11T03:42:06.243Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85726.json","commit":"62f79f7df6c57d7f32f2b5e2bc8e13f426f87c75","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85726","state":"PUBLISHED","datePublished":"2026-11-06T21:08:18.807Z","dateUpdated":"2026-11-11T03:34:11.202Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T14:45:10.648Z"},"containers":{"cna":{"title":"Chartbrew: Blind NoSQL injection via date variable in embedded chart","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"chartbrew","product":"chartbrew","versions":[{"version":"< 5.2.3","status":"affected"}]}],"references":[{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mr45-2r9x-cgwf","name":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mr45-2r9x-cgwf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chartbrew/chartbrew/commit/9e30fbd0d4a34033813a22bebb6fa6c9ae784d6b","name":"https://github.com/chartbrew/chartbrew/commit/9e30fbd0d4a34033813a22bebb6fa6c9ae784d6b","tags":["x_refsource_MISC"]},{"url":"https://github.com/chartbrew/chartbrew/releases/tag/v5.2.3","name":"https://github.com/chartbrew/chartbrew/releases/tag/v5.2.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-943","lang":"en","description":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-06T21:08:18.807Z"},"source":{"advisory":"GHSA-mr45-2r9x-cgwf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-mr45-2r9x-cgwf","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-11T03:33:33.370820Z","id":"CVE-2026-85726","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-11T03:34:11.202Z"}}]}}}