CVE-2025-27617: SQL Injection Vulnerability in Pimcore Package

pimcore/pimcore Updated 14 Dec 2025

Summary

11/03/2025
Yes i
Moderate
6.3

CVE-2025-27617: Pimcore Vulnerable to SQL Injection in getRelationFilterCondition. Affects pimcore/pimcore versions < 11.5.4. Fixed in 11.5.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Pimcore is an open-source digital experience platform that provides tools for managing digital assets, content, and data. It is widely used for building websites, e-commerce platforms, and applications. The platform allows users to create and manage complex data structures, making it a powerful tool for developers and businesses. However, it has been found to be vulnerable to SQL injection attacks due to insufficient input sanitization in its RelationFilterConditionParser component.

Vulnerability Detail

The vulnerability arises from the lack of input sanitization in the getRelationFilterCondition method of the RelationFilterConditionParser class. Authenticated users can manipulate filter strings to execute arbitrary SQL commands, potentially leading to unauthorized data access or data manipulation. This vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The affected code can be found in the RelationFilterConditionParser.php file, specifically between lines 29 and 47.

How To Fix

Minimum fixed version

11.5.4

This is the first release that contains the fix.

composer require pimcore/pimcore:11.5.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization on the filter strings before they are processed by the RelationFilterConditionParser. This can help mitigate the risk of SQL injection until the package is updated.

Conclusion

The CVE-2025-27617 vulnerability in the Pimcore package poses a significant risk due to SQL injection possibilities. It is crucial for users to update to the latest version to protect their applications from potential attacks. Implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for pimcore/pimcore →

Share this vulnerability

FAQ

CVE-2025-27617 is a vulnerability in the Pimcore package that allows authenticated users to perform SQL injection attacks due to insufficient input sanitization.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without requiring installation.

The consequences include unauthorized access to sensitive data, data manipulation, and potential compromise of the application’s integrity.

Yes, a patch is available in version 11.5.4 of the Pimcore package. Updating to this version will resolve the vulnerability.

If you cannot update immediately, implement input validation and sanitization as a temporary measure to mitigate the risk of SQL injection.

Related vulnerabilities

Recent vulnerabilities recorded for pimcore/pimcore.

How To Fix

Minimum fixed version

11.5.4

This is the first release that contains the fix.

composer require pimcore/pimcore:11.5.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback