MediumGHSA-vxg3-v4p6-f3fp
Pimcore vulnerable to SQL injection via unsanitized filter value in Dependency Dao RLIKE clause
Affected versions
up to and including 11.5.14.1, 12.0.0 to before 12.3.3 - fixed in 12.3.3Details
The filter query parameter in the dependency listing endpoints is JSON-decoded and the value field is concatenated directly into RLIKE clauses without sanitization or parameterized queries. Affected code in models/Dependency/Dao.php: - getFilterRequiresByPath() lines 90, 95, 100 - getFilterRequiredByPath() lines 148, 153, 158 All 6 locations use direct string concatenation like: "AND LOWER(CONCAT(o.path, o.key)) RLIKE '".$value."'" Note that $orderBy and $orderDirection in the same methods (lines 75-81) ARE properly whitelist-validated, but $value has zero sanitization. Entry points (
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27461
- https://github.com/pimcore/pimcore/security/advisories/GHSA-vxg3-v4p6-f3fp
- https://nvd.nist.gov/vuln/detail/CVE-2026-27461
- https://github.com/pimcore/pimcore/pull/18991
- https://github.com/pimcore/pimcore/commit/1c3925fbec4895abeb21e5c244a83679c4e4a6f4
- https://github.com/pimcore/pimcore
- https://github.com/pimcore/pimcore/releases/tag/v12.3.3
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected