Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pimcore/pimcore
  4. ›
  5. CVE-2026-55072

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

August 13, 2026

A missing end anchor ($) in the ClassDefinition UID validation regex allows an authenticated user with the objects permission to create a class with a malicious UID containing SQL. When a data object of that class is later loaded, Block.php concatenates the raw classId directly into a SQL query without quoting, executing the injected payload. This is an incomplete fix from commit dbe1d131e4 which added a leading ^ anchor but omitted the trailing $.

References

  • github.com/advisories/GHSA-2mhj-fhvg-v428
  • github.com/pimcore/pimcore/commit/33a0e1887e1e31b4283b016ac5440c35ea5697b4
  • github.com/pimcore/pimcore/security/advisories/GHSA-2mhj-fhvg-v428
  • nvd.nist.gov/vuln/detail/CVE-2026-55072

Code Behaviors & Features

Detect and mitigate CVE-2026-55072 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 12.3.9, all versions starting from 2026.1.0 before 2026.1.5

Fixed versions

  • 12.3.9
  • 2026.1.5

Solution

Upgrade to versions 12.3.9, 2026.1.5 or above.

Impact 8.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/pimcore/pimcore/CVE-2026-55072.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:17:05 +0000.