CVE-2022-39275

Improper object type validation in saleor

State
Published
Severity
5.3 Medium
Published
Oct 6, 2022
Updated
Apr 23, 2025
Reserved
Sep 2, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
saleorsaleor
  • >= 2.0.0, < 3.1.24Affected
  • >= 3.2.0, < 3.2.14Affected
  • >= 3.3.0, < 3.3.26Affected
  • >= 3.4.0, < 3.4.24Affected
  • >= 3.5.0, < 3.5.23Affected
  • >= 3.6.0, < 3.6.18Affected
  • >= 3.7.0, < 3.7.17Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.