The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22242

CVE-2026-22242: CoreShop Pimcore SQL Injection Vulnerability

CVE-2026-22242 is a blind SQL injection flaw in CoreShop for Pimcore that allows authenticated administrators to extract database contents. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2026-22242 Overview

CVE-2026-22242 is a blind SQL injection vulnerability discovered in CoreShop, a Pimcore enhanced eCommerce solution. Prior to version 4.1.8, the application contains a security flaw that allows an authenticated administrator-level user to extract database contents using boolean-based or time-based SQL injection techniques. While the database account used by the application is read-only and non-DBA, this vulnerability still enables confidential data disclosure from the underlying database.

Critical Impact

Authenticated administrators can extract sensitive database contents through blind SQL injection, potentially exposing customer data, order information, and other confidential eCommerce data stored in the Pimcore database.

Affected Products

  • CoreShop versions prior to 4.1.8
  • Pimcore installations with CoreShop eCommerce bundle
  • CoreShop Report functionality (AbandonedCartsReport, CarriersReport)

Discovery Timeline

  • January 8, 2026 - CVE-2026-22242 published to NVD
  • January 8, 2026 - Last updated in NVD database

Technical Details for CVE-2026-22242

Vulnerability Analysis

This blind SQL injection vulnerability exists within the CoreShop reporting functionality. The vulnerability allows authenticated administrator users to manipulate SQL queries through unsanitized input parameters. Due to the nature of blind SQL injection, attackers cannot directly view the results of injected queries but can infer database contents through boolean-based or time-based techniques.

The impact is limited to confidentiality breaches since the database account is configured as read-only and non-DBA. This means attackers cannot modify data or disrupt service availability. However, the ability to extract database contents poses significant risks to customer privacy and business confidentiality.

Root Cause

The root cause is improper handling of user-supplied input in SQL queries within the CoreShop reporting modules. The vulnerable code directly interpolates variables such as $storeId, $fromTimestamp, $toTimestamp, $offset, and $limit into SQL query strings without proper parameterization or sanitization. This allows SQL injection payloads to be executed against the database.

Attack Vector

The attack requires network access and high privileges (administrator authentication). An attacker with valid administrator credentials can exploit the reporting functionality by manipulating request parameters that are passed to SQL queries. The attacker can then use boolean-based inference (observing different application responses) or time-based inference (measuring query execution delays) to extract data character by character.

php
// Vulnerable code pattern (before patch)
// Source: https://github.com/coreshop/CoreShop/commit/59e84fec59d113952b6d28a9b30c6317f9e6e5dd

                         LEFT JOIN object_$userClassId AS `user` ON `user`.oo_id = cart.customer__id
                         LEFT JOIN coreshop_payment_provider AS `pg` ON `pg`.id = cart.paymentProvider
                         WHERE cart.items <> ''
-                          AND cart.store = $storeId
-                          AND cart.creationDate > ?
-                          AND cart.creationDate < ?
+                          AND cart.store = :storeId
+                          AND cart.creationDate > :fromTimestamp
+                          AND cart.creationDate < :toTimestamp
                           AND cart.saleState = '" . OrderSaleStates::STATE_CART . "'
                      GROUP BY cart.oo_id
                      ORDER BY cart.creationDate DESC
-                     LIMIT $offset,$limit";
+                     LIMIT " . (int) $offset . ', ' . (int) $limit;

-        $data = $this->db->fetchAllAssociative($sqlQuery, [$fromTimestamp, $toTimestamp]);
+        $data = $this->db->fetchAllAssociative($sqlQuery, [
+            'storeId' => $storeId,
+            'fromTimestamp' => $fromTimestamp,
+            'toTimestamp' => $toTimestamp,
+        ]);
         $this->totalRecords = (int) $this->db->fetchOne('SELECT FOUND_ROWS()');

         foreach ($data as &$entry) {

Source: GitHub Commit Update

Detection Methods for CVE-2026-22242

Indicators of Compromise

  • Unusual or malformed parameters in requests to CoreShop reporting endpoints
  • Database query logs showing unexpected SQL syntax or timing functions (e.g., SLEEP(), BENCHMARK())
  • Multiple sequential requests to report generation APIs with incrementally varying parameters
  • Administrator accounts accessing reporting functionality from unexpected IP addresses or at unusual times

Detection Strategies

  • Monitor web application firewall (WAF) logs for SQL injection patterns in requests to /admin/ endpoints
  • Implement database query logging and alert on queries containing suspicious functions like SLEEP(), IF(), or CASE WHEN statements
  • Review access logs for administrator reporting endpoints showing patterns consistent with automated extraction tools
  • Deploy SentinelOne Singularity to detect anomalous database query patterns and application-layer attacks

Monitoring Recommendations

  • Enable detailed logging for all CoreShop administrative actions, particularly report generation
  • Configure alerts for database queries exceeding normal execution time thresholds
  • Monitor administrator session activity for signs of credential compromise or insider threats
  • Implement rate limiting on reporting API endpoints to slow automated extraction attempts

How to Mitigate CVE-2026-22242

Immediate Actions Required

  • Upgrade CoreShop to version 4.1.8 or later immediately
  • Review administrator account access and audit for any unauthorized activity
  • Examine database query logs for evidence of exploitation attempts
  • Restrict administrator access to trusted IP addresses where feasible

Patch Information

CoreShop has addressed this vulnerability in version 4.1.8. The patch converts vulnerable direct variable interpolation to parameterized queries using named placeholders (:storeId, :fromTimestamp, :toTimestamp) and explicit integer casting for pagination parameters. Organizations should apply this update through their standard Pimcore/CoreShop update process.

For detailed patch information, refer to:

  • GitHub Security Advisory GHSA-ch7p-mpv4-4vg4
  • GitHub Commit Update

Workarounds

  • Restrict access to CoreShop administrative reporting functionality to only essential personnel until patched
  • Implement web application firewall rules to detect and block SQL injection patterns in request parameters
  • Configure database user permissions to further limit data access scope where possible
  • Enable database query auditing to detect and alert on suspicious query patterns
bash
# Configuration example - Restrict admin access via web server (nginx)
location /admin/ {
    allow 10.0.0.0/8;      # Internal network
    allow 192.168.1.0/24;  # Office network
    deny all;
    
    # Additional rate limiting
    limit_req zone=admin_limit burst=5 nodelay;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPimcore

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-564
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-ch7p-mpv4-4vg4
  • Related CVEs
  • CVE-2026-27461: Pimcore SQL Injection Vulnerability

  • CVE-2026-23492: Pimcore Blind SQL Injection Vulnerability

  • CVE-2026-23493: Pimcore Information Disclosure Flaw

  • CVE-2026-23494: Pimcore Auth Bypass Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English