Loading...
Skip to main content

CVE-2022-39365 — RCE vulnerability in pimcore/pimcore — CVE Details

CRITICAL

RCE vulnerability in Pimcore/Mail & Dynamic Text Layout

Published October 29, 2022Updated November 8, 2023Source: osv

Summary

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

Advisory Timeline

  • First published October 29, 2022 (1444 days ago).
  • Last revised November 8, 2023 — 375 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update pimcore/pimcore to 10.5.9 or later
composer require "pimcore/pimcore:^10.5.9"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
pimcore/pimcore
packagist
10.0.8, 2.2.0, 2.2.1, 2.2.2 (+195 more)10.5.9

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-39365?
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-39365?
CVE-2022-39365 affects pimcore/pimcore. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-39365 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-5qxq-vgmm-q39m

Related CVEs

  • CVE-2026-55634
    CRITICAL

    Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name

  • CVE-2026-55416
    HIGH

    Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration

  • CVE-2026-55072
    HIGH

    Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name

  • CVE-2026-44739
    HIGH

    Pimcore Vulnerable to SQL Injection in Custom Reports Column Configuration

  • CVE-2026-45162
    HIGH

    Pimcore has Unsafe PHP Deserialization in Multiple Locations Without allowed_classes Restriction

  • CVE-2014-2921
    HIGH

    Pimcore Vulnerable to PHP Object Injection Attacks

  • CVE-2026-23493
    HIGH

    Pimcore ENV Variables and Cookie Informations are exposed in http_error_log

  • CVE-2025-27617
    MEDIUM

    Pimcore Vulnerable to SQL Injection in getRelationFilterCondition

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies