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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-45054

CVE-2026-45054: CubeCart SQL Injection Vulnerability

CVE-2026-45054 is a SQL injection flaw in CubeCart that allows authenticated admins to execute arbitrary SQL queries through the ORDER BY clause. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-45054 Overview

CVE-2026-45054 is a SQL injection vulnerability in CubeCart, an open-source ecommerce software solution. The flaw affects versions prior to 6.7.0 and resides in the admin orders-transactions listing page at admin.php?_g=orders&node=transactions. The page constructs a raw ORDER BY SQL fragment from the attacker-controlled $_GET['sort'] array without validating column names or sort directions. An authenticated administrator holding the minimum CC_PERM_READ permission on orders can inject arbitrary SQL into the store database. The vendor fixed the issue in CubeCart 6.7.0.

Critical Impact

Authenticated administrators with read-only order permissions can extract admin password hashes, customer personally identifiable information (PII), and integrated payment-gateway credentials through time-based blind SQL injection.

Affected Products

  • CubeCart versions prior to 6.7.0
  • CubeCart admin orders-transactions module (admin.php?_g=orders&node=transactions)
  • Deployments where low-privilege admin accounts hold CC_PERM_READ on orders

Discovery Timeline

  • 2026-05-13 - CVE-2026-45054 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-45054

Vulnerability Analysis

The vulnerability is a classic ORDER BY SQL injection [CWE-89] in CubeCart's admin orders-transactions listing. The page accepts a sort parameter from the query string as an array, where both the column key and the direction value are concatenated directly into the SQL statement as bare tokens. CubeCart's sqlSafe() wrapper relies on mysqli escape_string, which only neutralizes quote characters, backslashes, and null bytes. None of these characters are required to exploit ORDER BY injection, so the sanitizer offers no protection in this code path.

An attacker with a logged-in admin session and the CC_PERM_READ permission on orders can substitute the column or direction tokens with arbitrary SQL expressions. Because ORDER BY results are observable in HTTP responses only indirectly, attackers typically use time-based blind techniques such as conditional SLEEP() calls to extract data one bit at a time.

Root Cause

The root cause is the absence of an allowlist for sortable columns and directions. The application trusts user input for SQL identifier positions where escaping does not apply. Identifier and keyword contexts in SQL require strict validation against a known set of values, not string escaping.

Attack Vector

Exploitation requires network access to the CubeCart admin interface and a valid administrator session with the CC_PERM_READ privilege on orders. The attacker sends a crafted GET request to admin.php?_g=orders&node=transactions with manipulated sort[column] and sort[direction] values. The injected payload executes within the database query used to render the transactions listing. Time-based blind extraction enables enumeration of the CubeCart_admin_users table, customer records, and stored payment-gateway configuration.

No proof-of-concept code has been published. Refer to the GitHub Security Advisory GHSA-rm2f-rpcq-6w9f for vendor technical details.

Detection Methods for CVE-2026-45054

Indicators of Compromise

  • Admin web server access logs containing _g=orders&node=transactions requests with sort[ parameters that include SQL keywords such as SLEEP, CASE, WHEN, SELECT, or IF(.
  • Repeated, near-identical requests to the orders-transactions page from a single admin session with varying delays in response time, indicating time-based extraction.
  • Unusual outbound queries or extended response times originating from the CubeCart database process.

Detection Strategies

  • Inspect HTTP request logs for sort array parameters whose values are not in the documented column allowlist (order_id, cart_order_id, time, status, etc.).
  • Enable MySQL general query log or slow query log and search for ORDER BY clauses containing function calls, subqueries, or conditional expressions.
  • Apply web application firewall (WAF) signatures targeting SQL keywords within sort parameters on CubeCart admin endpoints.

Monitoring Recommendations

  • Alert on admin session activity that issues high volumes of requests to a single listing endpoint within short windows.
  • Track baseline response times for the orders-transactions page and flag sustained deviations consistent with SLEEP()-based blind injection.
  • Audit administrator account creation and permission changes, particularly accounts granted only CC_PERM_READ on orders.

How to Mitigate CVE-2026-45054

Immediate Actions Required

  • Upgrade CubeCart to version 6.7.0 or later on all production and staging instances.
  • Review the CubeCart_admin_users table for unauthorized accounts and rotate all administrator passwords.
  • Rotate stored payment-gateway API keys, secrets, and customer-impacting credentials accessible from the store database.

Patch Information

The vendor released a fix in CubeCart 6.7.0. The patch introduces validation of the sort column and direction against an allowlist before incorporating them into the ORDER BY clause. Full details are available in the CubeCart GitHub Security Advisory.

Workarounds

  • Restrict access to the CubeCart admin interface using IP allowlists, VPN, or reverse-proxy authentication until the upgrade is applied.
  • Remove CC_PERM_READ on orders from non-essential administrator roles to reduce the population of accounts that can reach the vulnerable endpoint.
  • Deploy a WAF rule that rejects requests to admin.php?_g=orders&node=transactions containing SQL function names or parentheses inside sort[*] parameters.
bash
# Example WAF rule (ModSecurity) blocking SQL tokens in the sort parameter
SecRule ARGS_NAMES "@rx ^sort\[" \
  "chain,deny,status:403,id:1004505,msg:'CubeCart CVE-2026-45054 ORDER BY injection attempt'"
  SecRule ARGS "@rx (?i)(sleep|benchmark|select|case|when|if\(|union|--|/\*)" \
    "t:none,t:urlDecodeUni"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCubecart

  • SeverityMEDIUM

  • CVSS Score4.9

  • 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-89
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39358: CubeCart SQL Injection Vulnerability

  • CVE-2026-34018: CubeCart SQL Injection Vulnerability

  • CVE-2026-45714: CubeCart Server-Side Template Injection RCE

  • CVE-2026-45708: CubeCart Invoice Editor RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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