CVE-2024-29197: Pimcore Preview Documents are not restricted to logged in users anymore
Summary Any call with the query argument ?pimcorepreview=true allows to view unpublished sites. Event if in incognito window. Due to the behaviour of how previews should work, this also applies to internal documents, say an intranet which could be really severe. Details In previous versions of Pimcore, session information would propagate to previews, so only a logged in user could open a preview.
Published Mar 26, 2024 · Updated Mar 27, 2024
Affected packages
pimcore/pimcore
- Ecosystem
- Composer (PHP)
- Affected
- > 11.0.0, < 11.1.6.1
- Fixed in
- 11.1.6.1
- Check
composer show pimcore/pimcore
pimcore/pimcore
- Ecosystem
- Composer (PHP)
- Affected
- >= 11.2.0, < 11.2.2
- Fixed in
- 11.2.2
- Check
composer show pimcore/pimcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Any call with the query argument ?pimcore_preview=true allows to view unpublished sites. Event if in incognito window. Due to the behaviour of how previews should work, this also applies to internal documents, say an intranet which could be really severe.
Details
In previous versions of Pimcore, session information would propagate to previews, so only a logged in user could open a preview. This no longer applies. Previews are broad open to any user and with just the hint of a restricted link one could gain access to possible confident / unreleased information.
PoC
- go to demo.pimcore.com
- unpublish a document
- open preview link in incognito tab
- see how the page loads normally
Impact
Any intranet or other restricted sites which are able to show a preview are affected. This could possibly be huge.
Credited to rliebi, patryser.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-55416
Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration
high8.8Sep 10, 2026CVE-2026-55220
Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502)
critical9.3Aug 28, 2026CVE-2026-55634
Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name
critical9.9Aug 28, 2026CVE-2026-55072
Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name
high8.5Aug 13, 2026CVE-2026-11407
Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
high7.2No fixJun 17, 2026CVE-2026-5394
Pimcore Platform - SQL Injection in DataObject composite index handling during class definition import/save
high7.0May 28, 2026
