Skip to content
RedCVE

CVE-2026-61852Chartbrew SQL injection

chartbrewPublished:

CVSS score

5.8

Medium

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.36%

0.36% chance of exploitation in the next 30 days, higher than 30.7% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.2, Chartbrew's runQuery() implementation in server/modules/ai/orchestrator/tools/runQuery.js interpolates the AI tool's row_limit parameter into a SQL LIMIT clause without runtime integer validation. The read-only keyword check runs before this value is appended, so an authenticated user who can influence a model-generated non-integer row_limit can add SQL that bypasses the earlier check. Successful exploitation can execute arbitrary statements against the connected database, including reading or changing data and, where database permissions permit, accessing files or executing operating-system commands. This issue is fixed in version 5.2.2.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Chartbrew and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Chartbrew to 5.2.2 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
chartbrew Chartbrew< 5.2.2

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-61852 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-61852?

CVE-2026-61852 has a CVSS 4.0 base score of 5.8 (medium).

Which versions are affected?

Chartbrew Chartbrew (< 5.2.2)

Is there a patch for CVE-2026-61852?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.