Quick answers
- Is CVE-2026-5394 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-5394 being exploited in the wild.
- How severe is CVE-2026-5394?
- High severity, with a CVSS score of 4, published 28 May 2026.
- Which products and versions are affected?
- pimcore/pimcore (Packagist) <= 12.3.6, ECOSYSTEM:introduced=12.0.0-RC1,fixed=12.3.7; Pimcore <= 12.3.6.
- Is there a fix for CVE-2026-5394?
- Yes. pimcore/pimcore (Packagist): upgrade to 12.3.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-5394 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-5394?
- Check whether you run pimcore/pimcore (Packagist) or Pimcore at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- pimcore/pimcore (Packagist): upgrade to 12.3.7 or later
composer require pimcore/pimcore:^12.3.7
Technical details
A SQL injection vulnerability exists in Pimcore's DataObject composite index handling. The root cause is the lack of sanitization and identifier quoting in `Pimcore\Model\DataObject\Traits\CompositeIndexTrait::updateCompositeIndices()`. Specifically, the `index_columns` and `index_key` values from imported JSON are concatenated directly into `ALTER TABLE` statements. An authenticated attacker with administrative privileges can use a malicious JSON payload to inject additional DDL clauses (e.g., `DROP COLUMN`) into the `ADD INDEX` command. This vulnerability does not require stacked queries as the injection occurs within a single `ALTER TABLE` statement. The issue is fixed in version 12.3.7.
Affected products
- Pimcore Pimcore Platform <= 12.3.6
Identifiers
- CVE-2026-5394
- GHSA-r2f4-ff2p-xc64
Timeline
- 2026-05-26: advisory: GitHub Advisory published
- 2026-05-28: disclosed: Public disclosure date
- 12.3.7: patched: Vulnerability addressed in version 12.3.7
References
- https://api.github.com/users/researchatfluidattacks
- https://github.com/researchatfluidattacks
- https://api.github.com/users/researchatfluidattacks/gists%7B/gist_id%7D
- https://api.github.com/users/researchatfluidattacks/repos
- https://avatars.githubusercontent.com/u/252032344?v=4
- https://api.github.com/users/researchatfluidattacks/events%7B/privacy%7D