CVE-2026-25887 Details
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 version 4.8.1, there is a remote code execution vulnerability via the MongoDB dataset Query. This issue has been patched in version 4.8.1.
A remote code execution vulnerability has been identified in Chartbrew versions prior to 4.8.1. This issue arises from the application using the Function() constructor with user input in the runMongo function, allowing attackers to execute arbitrary commands by injecting payloads through the MongoDB dataset query feature. Exploitation of this vulnerability could lead to full server-side code execution within the context of the Node.js process, enabling access to sensitive files, installation of persistent malware, and exfiltration of data from MongoDB and other connected databases.
Users are advised to update to Chartbrew version 4.8.1, which includes security fixes for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/chartbrew/chartbrew/releases/tag/v4.8.1 | [email protected] | Release Notes |
| https://github.com/chartbrew/chartbrew/security/advisories/GHSA-x4r6-prmw-7wvw | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| depomo chartbrew | < 4.8.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 10, 2026 | Initial Analysis | [email protected] |
| Mar 6, 2026 | New CVE Received | [email protected] |