9.8critical
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.28% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5qxq-vgmm-q39m
Description
Pimcore is an open source data and experience management platform. Prior to version 10.5.9, the user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\Layout\Text` is vulnerable to server-side template injection, which could lead to remote code execution. Version 10.5.9 contains a patch for this issue. As a workaround, one may apply the patch manually.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pimcore pimcore | < 10.5.9, before 10.5.9 | CVE List, NVD |
| pimcore/pimcore (Packagist) | before 10.5.9 | GitHub Advisory Database |
All scores
| GitHub_M | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
Pimcore is an open source data and experience management platform. Prior to version 10.5.9, the user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\Layout\Text` is vulnerable to server-side template injection, which could lead to remote code execution. Version 10.5.9 contains a patch for this issue. As a workaround, one may apply the patch manually.
GitHub Advisory Database
Impact
The user controlled twig templates rendering in Pimcore/Mail & ClassDefinition\Layout\Text is vulnerable to server-side template Injection RCE.
Patches
Update to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch
Workarounds
Apply https://github.com/pimcore/pimcore/pull/13347.patch manually.
References
Credits: @nth347 from Viettel Cyber Security
NVD (es)
Pimcore es una plataforma de gestión de experiencias y datos de código abierto. Antes de la versión 10.5.9, la representación de plantillas twig controladas por el usuario en `Pimcore/Mail` y `ClassDefinition\Layout\Text` es vulnerable a la inyección de plantillas del lado del servidor, lo que podría conducir a la ejecución remota de código. La versión 10.5.9 contiene un parche para este problema. Como workaround, se puede aplicar el parche manualmente.
References
| https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m | patch, third-party-advisory, web | |
| https://github.com/pimcore/pimcore/pull/13347 | issue-tracking, patch, third-party-advisory, web | |
| https://github.com/pimcore/pimcore/pull/13347.patch | mailing-list, patch, third-party-advisory, web | |
| https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-39365 | advisory | |
| https://github.com/pimcore/pimcore | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-39365 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5qxq-vgmm-q39m changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-39365 changed 2026-06-17 | Public domain |