What’s Vulnerable › Vulnerabilities
CVE-2022-39275: Improper object type validation in saleor
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-06 · updated 2026-06-17
- Weakness: CWE-863
Description
Saleor is a headless, GraphQL commerce platform. In affected versions some GraphQL mutations were not properly checking the ID type input which allowed to access database objects that the authenticated user may not be allowed to access. This vulnerability can be used to expose the following information: Estimating database row counts from tables with a sequential primary key or Exposing staff user and customer email addresses and full name through the `assignNavigation()` mutation. This issue has been patched in main and backported to multiple releases (3.7.17, 3.6.18, 3.5.23, 3.4.24, 3.3.26, 3.2.14, 3.1.24). Users are advised to upgrade. There are no known workarounds for this issue.
Affected products
- saleor: from 2.0.0 before 3.1.24; from 3.2.0 before 3.2.14; from 3.3.0 before 3.3.26; from 3.4.0 before 3.4.24; from 3.5.0 before 3.5.23; from 3.6.0 before 3.6.18 — fixed in 3.1.24, 3.2.14, 3.3.26, 3.4.24, 3.5.23, 3.6.18
How to fix
Upgrade to a fixed version: saleor 3.1.24, 3.2.14, 3.3.26, 3.4.24. Check the vendor advisory for mitigations.
References
- https://github.com/saleor/saleor/commit/96e04c092ddcac17b14f2e31554aa02d9006d0ce
- https://github.com/saleor/saleor/security/advisories/GHSA-xhq8-8c5v-w8ff
- https://github.com/saleor/saleor/commit/96e04c092ddcac17b14f2e31554aa02d9006d0ce
- https://github.com/saleor/saleor/security/advisories/GHSA-xhq8-8c5v-w8ff
Get alerted when CVE-2022-39275 or the next vulnerability affects your stack