Unauthenticated DQL injection via unchecked order direction
Published Mar 10, 2026 · Updated Mar 10, 2026
DQL injection in Sylius API v2 order filters allows remote attackers to alter database queries through crafted sorting parameters. ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter pass each user-supplied direction directly to Doctrine orderBy() without limiting it to ASC or DESC. API v2 must be enabled and reachable; crafted filters can change query logic and disclose limited database information without modifying data.
Summary
What happened
DQL injection in Sylius API v2 order filters allows remote attackers to alter database queries through crafted sorting parameters. ProductPriceOrderFilter and TranslationOrderNameAndLocaleFilter pass each user-supplied direction directly to Doctrine orderBy() without limiting it to ASC or DESC. API v2 must be enabled and reachable; crafted filters can change query logic and disclose limited database information without modifying data.
The record
- CVE
- CVE-2026-31825
- Published
- Mar 10, 2026
- Updated
- Mar 10, 2026
- Vendor
- Sylius
- Product
- Sylius
- Classifications
- CWE-943, CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 10, 2026CVE publishedPublication date reported by the CVE source.
- Mar 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.10.0, < 1.10.16
- Affected versionversion=>= 1.11.0, < 1.11.17
- Affected versionversion=>= 1.12.0, < 1.12.23
- Affected versionversion=>= 1.13.0, < 1.13.15
- Affected versionversion=>= 1.14.0, < 1.14.18
- Affected versionversion=< 1.9.12
- Affected versionversion=>= 2.0.0, < 2.0.16
- Affected versionversion=>= 2.1.0, < 2.1.12
- Affected versionversion=>= 2.2.0, < 2.2.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Vendor advisory crafted API order requestproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo