Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 08/13/2026 (08/13/2026, 13:44:24 UTC)
Source: GCVE Database
Product: pimcore/pimcore

Description

Pimcore versions 2026.1.0 through before 2026.1.5 and versions before 12.3.9 contain a vulnerability where a missing end anchor in the ClassDefinition UID regex allows an authenticated user with 'objects' permission to create a class with a malicious UID containing SQL code. This malicious UID is later concatenated unquoted into SQL queries in Block.php, enabling SQL injection. The issue is due to incomplete validation and improper quoting of the classId in SQL statements. A patch is available that adds the missing end anchor to the regex, preventing malicious UIDs from being accepted.

CVSS v3.1

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Affected software

Packagistghsa
pimcore/pimcore
Affected versions
>=2026.1.0 <2026.1.5
Packagistghsa
pimcore/pimcore
Affected versions
<12.3.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 18:12:26 UTC

Technical Analysis

The vulnerability arises from a missing trailing '$' anchor in the regular expressions validating ClassDefinition UIDs in Pimcore. This allows an attacker with authenticated 'objects' permission to create a class with a UID that starts with a valid identifier but contains appended SQL injection payloads. When data objects of this class are loaded, Block.php concatenates the raw classId directly into SQL queries without quoting, leading to SQL injection. The issue is an incomplete fix from a prior commit that added a leading '^' anchor but omitted the trailing '$'. The vulnerability affects Pimcore versions >=2026.1.0 <2026.1.5 and versions <12.3.9. A proof of concept demonstrates extracting password hashes from the users table via SQL injection. The recommended fix is to add the trailing '$' anchor to the regex patterns to properly validate the entire UID string and prevent injection.

Potential Impact

An authenticated user with the 'objects' permission can exploit this vulnerability to perform SQL injection by creating a malicious class UID. This can lead to unauthorized disclosure of sensitive data such as password hashes from the users table. The vulnerability allows reading data beyond intended access controls but does not directly enable denial of service or privilege escalation. The CVSS score is 8.5 (high severity), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high confidentiality impact.

Mitigation Recommendations

A patch is available that adds the missing trailing '$' anchors to the ClassDefinition UID validation regex patterns, preventing malicious UIDs from passing validation. Users should upgrade Pimcore to versions 2026.1.5 or later, or 12.3.9 or later, where this fix is applied. Until patched, restrict 'objects' permission to trusted users only. No other mitigations are specifically recommended by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2mhj-fhvg-v428
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55072"]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a7e0371bf8831d5398f96b4

Added to database: 08/13/2026, 17:48:33 UTC

Last enriched: 08/13/2026, 18:12:26 UTC

Last updated: 08/13/2026, 18:12:26 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses