CVE-2022-39365
JSON

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 packageVersionsReported by
pimcore pimcore< 10.5.9, before 10.5.9CVE List, NVD
pimcore/pimcore (Packagist)before 10.5.9GitHub Advisory Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

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

Sources

SourceRecordLicence
CVE ListCVE-2022-39365 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-5qxq-vgmm-q39m changed 2023-11-08CC-BY-4.0
NVDCVE-2022-39365 changed 2026-06-17Public domain