Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-31825

CVE-2026-31825: Sylius eCommerce Framework SQLi Vulnerability

CVE-2026-31825 is a SQL injection flaw in Sylius eCommerce Framework that allows attackers to inject arbitrary DQL through API filters. This article covers the technical details, affected versions, and mitigation steps.

Published: March 13, 2026

CVE-2026-31825 Overview

Sylius, an Open Source eCommerce Framework built on Symfony, contains a DQL (Doctrine Query Language) injection vulnerability in its API filters. The ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter components pass user-supplied order direction values directly to Doctrine's orderBy() method without proper validation. This improper input handling allows an attacker to inject arbitrary DQL statements, potentially leading to unauthorized data access.

Critical Impact

Unauthenticated attackers can exploit this DQL injection vulnerability to extract sensitive information from the application database by manipulating API filter parameters.

Affected Products

  • Sylius versions prior to 1.9.12
  • Sylius versions 1.10.x prior to 1.10.16
  • Sylius versions 1.11.x prior to 1.11.17
  • Sylius versions 1.12.x prior to 1.12.23
  • Sylius versions 1.13.x prior to 1.13.15
  • Sylius versions 1.14.x prior to 1.14.18
  • Sylius versions 2.0.x prior to 2.0.16
  • Sylius versions 2.1.x prior to 2.1.12
  • Sylius versions 2.2.x prior to 2.2.3

Discovery Timeline

  • 2026-03-10 - CVE-2026-31825 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-31825

Vulnerability Analysis

This vulnerability is classified as CWE-89 (SQL Injection), specifically manifesting as a DQL injection issue within the Sylius API filtering mechanism. The vulnerability exists because the API filters do not validate or sanitize the order direction parameter before passing it to Doctrine's query builder.

In typical API usage, the orderBy() method expects predefined direction values such as ASC or DESC. However, the vulnerable filters accept arbitrary user input for this parameter, allowing attackers to break out of the intended query structure and inject malicious DQL statements. This can be exploited remotely without any authentication, though the impact is limited to information disclosure rather than data modification.

Root Cause

The root cause is improper input validation in the ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter classes. These filters fail to implement a whitelist approach for the order direction parameter, which should only accept ASC or DESC values. Instead, the user-supplied value is passed directly to Doctrine's orderBy() method, creating an injection point.

Attack Vector

The attack can be performed over the network without authentication. An attacker crafts malicious API requests with specially crafted order direction parameters. By manipulating the filter parameters in API calls to product listing endpoints, attackers can inject DQL fragments that alter the query behavior. This enables extraction of sensitive information from the database, including data from tables that should not be accessible through the normal API response.

The vulnerability mechanism involves passing malicious DQL syntax through API filter parameters. When the application processes these parameters, the injected DQL is executed as part of the database query. For detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2026-31825

Indicators of Compromise

  • Unusual API requests to product listing endpoints with malformed or suspicious order parameters
  • Database query logs showing unexpected DQL syntax or subqueries in ORDER BY clauses
  • API error responses indicating DQL parsing errors or syntax exceptions
  • Anomalous data access patterns from web application processes

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL/DQL injection patterns in API parameters
  • Monitor application logs for Doctrine ORM exceptions or query builder errors
  • Deploy API request logging with pattern analysis to identify injection attempts in filter parameters
  • Configure intrusion detection systems to alert on unusual query patterns from the Sylius application

Monitoring Recommendations

  • Enable verbose logging for all Sylius API filter operations to capture suspicious parameter values
  • Set up alerting for failed database queries originating from API endpoints
  • Monitor for increased API traffic to product listing endpoints that may indicate reconnaissance or exploitation attempts
  • Review database audit logs for queries containing unexpected ORDER BY patterns

How to Mitigate CVE-2026-31825

Immediate Actions Required

  • Update Sylius to the latest patched version for your release branch immediately
  • Review API access logs for potential exploitation attempts prior to patching
  • Implement WAF rules to block requests containing suspicious characters in order direction parameters
  • Consider temporarily disabling the affected API filters if immediate patching is not possible

Patch Information

Sylius has released security patches across all supported version branches. Upgrade to one of the following fixed versions:

Version BranchFixed Version
1.9.x1.9.12
1.10.x1.10.16
1.11.x1.11.17
1.12.x1.12.23
1.13.x1.13.15
1.14.x1.14.18
2.0.x2.0.16
2.1.x2.1.12
2.2.x2.2.3

For complete patch details, refer to the GitHub Security Advisory.

Workarounds

  • Implement a custom API filter decorator that validates order direction parameters against a strict whitelist (ASC, DESC)
  • Deploy a reverse proxy or WAF rule to sanitize or reject requests with non-standard order direction values
  • Disable the ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter in API Platform configuration until patching is completed
  • Implement network-level restrictions to limit API access to trusted sources
bash
# Example: Disable vulnerable filters in Sylius API Platform configuration
# In config/packages/api_platform.yaml, remove or comment out the affected filters:
# api_platform:
#   collection:
#     order_parameter_name: order
# Review and restrict filter configurations until patch is applied

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSylius

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-31819: Sylius eCommerce Framework CSRF Vulnerability

  • CVE-2026-31820: Sylius Information Disclosure Vulnerability

  • CVE-2026-31821: Sylius eCommerce Auth Bypass Vulnerability

  • CVE-2026-31822: Sylius eCommerce Framework XSS Vulnerability
Default Legacy - Prefooter | 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