VYPR
High severityOSV Advisory· Published Jan 14, 2026· Updated Jan 14, 2026

Pimcore has a Blind SQL Injection in Admin Search Find API due to an incomplete fix for CVE-2023-30848

CVE-2026-23492

Description

Pimcore is an Open Source Data & Experience Management Platform. Prior to 12.3.1 and 11.5.14, an incomplete SQL injection patch in the Admin Search Find API allows an authenticated attacker to perform blind SQL injection. Although CVE-2023-30848 attempted to mitigate SQL injection by removing SQL comments (--) and catching syntax errors, the fix is insufficient. Attackers can still inject SQL payloads that do not rely on comments and infer database information via blind techniques. This vulnerability affects the admin interface and can lead to database information disclosure. This vulnerability is fixed in 12.3.1 and 11.5.14.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pimcore/pimcorePackagist
>= 12.0.0-RC1, < 12.3.112.3.1
pimcore/pimcorePackagist
< 11.5.1411.5.14

Affected products

1

Patches

1
25ad8674886f

Remove sql comments and add different exception on syntax error (#14972)

https://github.com/pimcore/pimcoreMatthias SchuhmayerApr 25, 2023via ghsa
1 file changed · +8 1
  • bundles/AdminBundle/Controller/Searchadmin/SearchController.php+8 1 modified
    @@ -15,6 +15,7 @@
     
     namespace Pimcore\Bundle\AdminBundle\Controller\Searchadmin;
     
    +use Doctrine\DBAL\Exception\SyntaxErrorException;
     use Pimcore\Bundle\AdminBundle\Controller\AdminController;
     use Pimcore\Bundle\AdminBundle\Controller\Traits\AdminStyleTrait;
     use Pimcore\Bundle\AdminBundle\Helper\GridHelperService;
    @@ -111,6 +112,8 @@ public function findAction(Request $request, EventDispatcherInterface $eventDisp
             $bricks = [];
             if (!empty($allParams['fields'])) {
                 $fields = $allParams['fields'];
    +            //remove sql comments
    +            $fields = str_replace('--', '', $fields);
     
                 foreach ($fields as $f) {
                     $parts = explode('~', $f);
    @@ -310,7 +313,11 @@ public function findAction(Request $request, EventDispatcherInterface $eventDisp
                 $searcherList = $beforeListLoadEvent->getArgument('list');
             }
     
    -        $hits = $searcherList->load();
    +        try {
    +            $hits = $searcherList->load();
    +        } catch (SyntaxErrorException $syntaxErrorException) {
    +            throw new \InvalidArgumentException('Check your arguments.');
    +        }
     
             $elements = [];
             foreach ($hits as $hit) {
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.