{"id":"CVE-2026-27461","aliases":["CVE-2026-27461","GHSA-vxg3-v4p6-f3fp"],"related":[],"kind":"vulnerability","state":"published","title":"Pimcore vulnerable to SQL injection via unsanitized filter value in Dependency Dao RLIKE clause","summary":"Pimcore is an Open Source Data & Experience Management Platform. In versions up to and including 11.5.14.1 and 12.3.2, 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. Exploiting this issue requires admin authentication. An attacker with admin panel access can extract the full database including password hashes of other admin users. Version 12.3.3 contains a patch.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Pimcore is an Open Source Data & Experience Management Platform. In versions up to and including 11.5.14.1 and 12.3.2, 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. Exploiting this issue requires admin authentication. An attacker with admin panel access can extract the full database including password hashes of other admin users. Version 12.3.3 contains a patch.","source":"cvelist"},{"lang":"en","text":"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.\n\nAffected code in models/Dependency/Dao.php:\n- getFilterRequiresByPath() lines 90, 95, 100\n- getFilterRequiredByPath() lines 148, 153, 158\n\nAll 6 locations use direct string concatenation like:\n\n    \"AND LOWER(CONCAT(o.path, o.key)) RLIKE '\".$value.\"'\"\n\nNote that $orderBy and $orderDirection in the same methods (lines 75-81) ARE properly whitelist-validated, but $value has zero sanitization.\n\nEntry points (pimcore/admin-ui-classic-bundle ElementController.php):\n- GET /admin/element/get-requires-dependencies (line 654)\n- GET /admin/element/get-required-by-dependencies (line 714)\n\nThe controller JSON-decodes the filter query param and passes $filter['value'] straight to the Dao without any escaping.\n\nPoC (time-based blind):\n\n    GET /admin/element/get-requires-dependencies?id=1&elementType=document&filter=[{\"type\":\"string\",\"value\":\"x' OR SLEEP(5)#\"}]\n\nIf vulnerable, the response is delayed by ~15 seconds (SLEEP runs 3 times, once per UNION arm in the inner subquery).\n\nPoC (error-based extraction):\n\n    GET /admin/element/get-requires-dependencies?id=1&elementType=document&filter=[{\"type\":\"string\",\"value\":\"x' OR extractvalue(1,concat(0x7e,(SELECT version())))#\"}]\n\nReturns the MySQL version string in the error response.\n\nRequires admin authentication. An attacker with admin panel access can extract the full database including password hashes of other admin users.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Pimcore es una Plataforma de Gestión de Datos y Experiencias de Código Abierto. En versiones hasta las 11.5.14.1 y 12.3.2 incluidas, el parámetro de consulta filter en los endpoints de listado de dependencias se decodifica en JSON y el campo de valor se concatena directamente en cláusulas RLIKE sin sanitización o consultas parametrizadas. Para explotar este problema es preciso estar autenticado como administrador. Un atacante con acceso al panel de administrador puede extraer la base de datos completa, incluyendo los hashes de contraseña de otros usuarios administradores. La versión 12.3.3 contiene un parche.","source":"nvd"}],"published":"2026-02-24T02:50:48.287Z","modified":"2026-06-17T10:27:11.590Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"<= 11.5.14.1","status":"affected"},{"version":">= 12.0.0, < 12.3.3","status":"affected"}],"vendor":"pimcore","product":"pimcore","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"11.5.14.1"}],"ecosystem":"Packagist","package":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"12.0.0","status":"affected","fixed":"12.3.3"}],"ecosystem":"Packagist","package":"pimcore/pimcore","purl":"pkg:composer/pimcore/pimcore","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"11.5.14.1"},{"status":"affected","introduced":"12.0.0","fixed":"12.3.3"}],"vendor":"pimcore","product":"pimcore","cpe":"cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-vxg3-v4p6-f3fp","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/pull/18991","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/commit/1c3925fbec4895abeb21e5c244a83679c4e4a6f4","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pimcore/pimcore/releases/tag/v12.3.3","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27461","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pimcore/pimcore","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-02-24T18:56:21.259Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27461","url":"https://www.cve.org/CVERecord?id=CVE-2026-27461","licence":"CVE Terms of Use","modified":"2026-02-24T18:58:07.625Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vxg3-v4p6-f3fp","url":"https://github.com/advisories/GHSA-vxg3-v4p6-f3fp","licence":"CC-BY-4.0","modified":"2026-02-24T20:26:19.719Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27461","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27461","licence":"Public domain","modified":"2026-06-17T10:27:11.590Z"}],"updatedAt":"2026-11-25T22:59:14.714Z","epss":{"score":0.00501,"percentile":0.44502,"date":"2026-12-01T12:00:22.000Z"}}