Loading...
Skip to main content

CVE-2025-27617 — Pimcore Vulnerable to SQL Injection in...

MEDIUM

Pimcore Vulnerable to SQL Injection in getRelationFilterCondition

Published March 11, 2025Updated March 11, 2025Source: osv

Summary

### Summary Authenticated users can craft a filter string used to cause a SQL injection. ### Details _Give all details on the vulnerability. Pointing to the incriminated source code is very helpful for the maintainer._ This code does not look to sanitize inputs: https://github.com/pimcore/pimcore/blob/c721a42c23efffd4ca916511ddb969598d302396/models/DataObject/ClassDefinition/Data/Extension/RelationFilterConditionParser.php#L29-L47 c.f. with https://github.com/pimcore/pimcore/blob/c721a42c23efffd4ca916511ddb969598d302396/models/DataObject/ClassDefinition/Data/Multiselect.php#L332-L347 ### PoC _Complete instructions, including specific configuration details, to reproduce the vulnerability._ ### Impact _What kind of vulnerability is it? Who is impacted?_

Advisory Timeline

  • First published March 11, 2025 (580 days ago).
  • Last revised March 11, 2025 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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

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 (+280 more)11.5.4

Vulnerability Classification

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

CVSS Score Breakdown

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

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

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Frequently Asked Questions

What is CVE-2025-27617?
Pimcore Vulnerable to SQL Injection in getRelationFilterCondition This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2025-27617?
CVE-2025-27617 affects pimcore/pimcore. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-27617 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qjpx-5m2p-5pgh

Related CVEs

  • CVE-2022-39365
    CRITICAL

    RCE vulnerability in Pimcore/Mail & Dynamic Text Layout

  • 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

Check if you're affected

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

Scan Your Dependencies