CVE-2023-26051: Saleor Saleor Has Staff-Authenticated Error Message Vulnerability

MODERATE
Advisory Identifier: GHSA-r8qr-wwg3-2r85
CVSS 6.5
CWE-209
Published
Advisory Summary

CVE-2023-26051 is a MODERATE (CVSS 6.5) saleor has staff-authenticated error message vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Saleor libraries in the PyPI ecosystem. The issue involves saleor has staff-authenticated error message information disclosure vulnerability via python exceptions. Remediation is available by upgrading affected packages to version 3.1.48, 3.11.12, 3.10.14, 3.9.27, 3.8.30, 3.7.59.

CVE-2023-26051 at a Glance

CVE Identifier CVE-2023-26051
GHSA Identifier GHSA-r8qr-wwg3-2r85
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Saleor
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-26051

To remediate this vulnerability, upgrade all affected Saleor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Saleor fixed: 3.1.48
pip install Saleor>=3.1.48
Saleor fixed: 3.11.12
pip install Saleor>=3.11.12
Saleor fixed: 3.10.14
pip install Saleor>=3.10.14
Saleor fixed: 3.9.27
pip install Saleor>=3.9.27
Saleor fixed: 3.8.30
pip install Saleor>=3.8.30
Saleor fixed: 3.7.59
pip install Saleor>=3.7.59
saleor fixed: 3.1.48
pip install saleor>=3.1.48
saleor fixed: 3.7.59
pip install saleor>=3.7.59
saleor fixed: 3.8.30
pip install saleor>=3.8.30
saleor fixed: 3.9.27
pip install saleor>=3.9.27
saleor fixed: 3.10.14
pip install saleor>=3.10.14
saleor fixed: 3.11.12
pip install saleor>=3.11.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show Saleor

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2023-26051, inspect your installed packages using pip:

pip show Saleor

Analyze the terminal output to locate any version of Saleor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.48), your application is affected.

Note: The pip show Saleor command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Saleor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Some internal Python exceptions are not handled properly and thus are returned in API as error messages. Some messages might contain sensitive information like user email address in staff-authenticated requests. This issue has been patched in versions 3.1.48, 3.7.59, 3.8.30, 3.9.27, 3.10.14 and 3.11.12. ### Workarounds None ### For more information If you have any questions or comments about this advisory: * Open a discussion at https://github.com/saleor/saleor/discussions * Email us at [hello@saleor.io](mailto:hello@saleor.io)

CVE-2023-26051 Affected Saleor Versions

12 component(s)
Fixed Versions:
3.1.483.11.123.10.143.9.273.8.303.7.59
Product / Package Ecosystem Affected Versions Fixed Version
Saleor
PyPI
≥ 2.0.0
< 3.1.48
3.1.48
Saleor
PyPI
≥ 3.11.0
< 3.11.12
3.11.12
Saleor
PyPI
≥ 3.10.0
< 3.10.14
3.10.14
Saleor
PyPI
≥ 3.9.0
< 3.9.27
3.9.27
Saleor
PyPI
≥ 3.8.0
< 3.8.30
3.8.30
Saleor
PyPI
≥ 3.7.0
< 3.7.59
3.7.59
saleor
PyPI
≥ 2.0.0
< 3.1.48
3.1.48
saleor
PyPI
≥ 3.7.0
< 3.7.59
3.7.59
saleor
PyPI
≥ 3.8.0
< 3.8.30
3.8.30
saleor
PyPI
≥ 3.9.0
< 3.9.27
3.9.27
saleor
PyPI
≥ 3.10.0
< 3.10.14
3.10.14
saleor
PyPI
≥ 3.11.0
< 3.11.12
3.11.12

References

Frequently Asked Questions

What is CVE-2023-26051?
CVE-2023-26051 is a security vulnerability in Saleor involving Saleor has Staff-Authenticated Error Message Information Disclosure Vulnerability via Python Exceptions under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Saleor versions are affected?
Affected versions include releases prior to 3.1.48, 3.11.12, 3.10.14, 3.9.27, 3.8.30, 3.7.59 across affected packages: Saleor, saleor.
What version fixes CVE-2023-26051?
Upgrading to 3.1.48, 3.11.12, 3.10.14, 3.9.27, 3.8.30, 3.7.59 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Saleor affected?
Yes, Saleor is affected in releases prior to 3.1.48, 3.11.12, 3.10.14, 3.9.27, 3.8.30, 3.7.59. Upgrade your dependency to 3.1.48, 3.11.12, 3.10.14, 3.9.27, 3.8.30, 3.7.59 or later.
Is saleor affected?
Yes, saleor is affected in releases prior to 3.1.48, 3.7.59, 3.8.30, 3.9.27, 3.10.14, 3.11.12. Upgrade your dependency to 3.1.48, 3.7.59, 3.8.30, 3.9.27, 3.10.14, 3.11.12 or later.
What is the CVSS score of CVE-2023-26051?
CVE-2023-26051 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-26051?
CVE-2023-26051 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check PyPI dependencies for CVE-2023-26051?
Run the dependency tree command: 'pip show Saleor'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r8qr-wwg3-2r85",
  "modified" : "2026-07-28T01:21:19Z",
  "published" : "2023-03-03T22:46:04Z",
  "aliases" : [ "CVE-2023-26051" ],
  "summary" : "Saleor has Staff-Authenticated Error Message Information Disclosure Vulnerability via Python Exceptions",
  "details" : "### Impact\nSome internal Python exceptions are not handled properly and thus are returned in API as error messages. Some messages might contain sensitive information like user email address in staff-authenticated requests.\n\nThis issue has been patched in versions 3.1.48, 3.7.59, 3.8.30, 3.9.27, 3.10.14 and 3.11.12.\n\n### Workarounds\nNone\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a discussion at https://github.com/saleor/saleor/discussions\n* Email us at [hello@saleor.io](mailto:hello@saleor.io)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "3.1.48"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.11.0"
      }, {
        "fixed" : "3.11.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.10.0"
      }, {
        "fixed" : "3.10.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0"
      }, {
        "fixed" : "3.9.27"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8.0"
      }, {
        "fixed" : "3.8.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.7.0"
      }, {
        "fixed" : "3.7.59"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "3.1.48"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.7.0"
      }, {
        "fixed" : "3.7.59"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8.0"
      }, {
        "fixed" : "3.8.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0"
      }, {
        "fixed" : "3.9.27"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.10.0"
      }, {
        "fixed" : "3.10.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "saleor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.11.0"
      }, {
        "fixed" : "3.11.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/security/advisories/GHSA-r8qr-wwg3-2r85"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-26051"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/commit/31bce881ccccf0d79a9b14ecb6ca3138d1edeec1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/saleor/PYSEC-2026-917.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/saleor/saleor"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.1.48"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.10.14"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.11.12"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.7.59"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.8.30"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/saleor/saleor/releases/tag/3.9.27"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-03T22:46:04Z",
    "nvd_published_at" : "2023-03-02T19:15:00Z"
  }
}