# CVE-2022-39365: RCE vulnerability in Pimcore/Mail & Dynamic Text Layout

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.28%, higher than 83% of CVEs (2026-12-01)
- Published: 2022-10-27T00:00:00.000Z
- Modified: 2026-06-17T04:58:13.320Z
- Also known as: GHSA-5qxq-vgmm-q39m
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pimcore pimcore: < 10.5.9; before 10.5.9
- pimcore/pimcore (Packagist): before 10.5.9

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2022-39365](https://www.cve.org/CVERecord?id=CVE-2022-39365), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-5qxq-vgmm-q39m](https://github.com/advisories/GHSA-5qxq-vgmm-q39m), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39365](https://nvd.nist.gov/vuln/detail/CVE-2022-39365), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39365 · Whole record: https://cve.day/CVE-2022-39365.json · Rebuilt by cve.day 2026-11-25T22:58:16.038Z
