All vulnerabilities

Servers and applications

CVE-2026-55416

SQL Injection in Mautic Custom Reports Bundle (Sql.php:84-135) Due to Direct Concatenation of User-Controlled Configuration Fields Without Parameterization; Trivially Bypassable Blacklist Allows Full Database Read/Write/Delete

Severity
High 8.8
Published
10 Sept 2026
Last changed
10 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
11.5.19, 12.3.10, 2026.1.6
Exploit chance
0.7% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-23rh-xw42-fq82
Sources
Project advisories (GitHub)

Description

A SQL injection vulnerability exists in the Custom Reports bundle (bundles/CustomReportsBundle/src/Tool/Adapter/Sql.php:84-135). An authenticated attacker with reports_config permission can inject arbitrary SQL via the report configuration fields (sql, from, where, groupby), which are directly concatenated into SQL queries without parameterization. The only protection is a regex blacklist that checks for ALTER|CREATE|DROP|RENAME|TRUNCATE|UPDATE|DELETE keywords, which is trivially bypassable — it does not block INSERT, UNION SELECT, LOAD_FILE(), INTO OUTFILE, stacked queries, subqueries, or MySQL comment injection (/!/). Exploitation allows reading, modifying, or deleting all data in the database, leading to complete data compromise.

Additionally, the LIMIT clause at line 51 directly interpolates $offset and $limit without integer casting, creating a secondary injection point.

From pimcore/pimcore's security advisory. Shortened; the full text is there.

Workarounds

  • Restrict reports_config permission to only highly trusted administrators
  • Deploy a WAF rule to block requests to /admin/bundle/customreports/custom-report/update containing SQL keywords in the configuration parameter
  • Replace the custom SQL adapter with a parameterized query builder approach
Workarounds as given by pimcore/pimcore's security advisory.

Affected software

SoftwareAffected versions
PimcoreServers and applications · github:pimcore/pimcore
  • Every version before 2026.1.6
  • Every version before 12.3.10
  • Every version before 11.5.19

About Pimcore

free open source CMS

From Wikidata, CC0 1.0.
Companies using it
118,000+Pimcore
Monthly downloads (Packagist)
80,710Packagist, 15 Nov 2026
Total downloads (Packagist)
4,188,980Packagist, 15 Nov 2026
Docker Hub pulls
6,784,817Docker Hub, 15 Nov 2026
GitHub stars
3,894GitHub, 15 Nov 2026
Forks
1,514GitHub, 15 Nov 2026
Latest release
v2026.3.5GitHub, 15 Nov 2026
Released
11 Nov 2026GitHub
Developer
Pimcore GmbHWikidata
Written in
PHPWikidata
First released
2013Wikidata
First published on GitHub
1 Nov 2011GitHub

References