Magento 2 Community Edition Access Control Bypass
An access control bypass vulnerability exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An unauthenticated user can bypass access controls via REST API calls to assign themselves to an arbitrary company, thereby gaining read access to potentially confidental information.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | magento/community-edition | >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2 | 2.1.18, 2.2.9, 2.3.2 |
| Magento (core) | magento/community-edition | >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2 | 2.1.18, 2.2.9, 2.3.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7950
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7950.yaml
- https://github.com/magento/magento2
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13
- https://web.archive.org/web/20211206084839/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-639- Platform
- Composer, Magento
- Package
magento/community-edition- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 11:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2fhr-f6q6-c4p2 - CC BY 4.0
Vulnerability history: magento/community-edition
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 360
- First → latest
- 11.2019 10.2025
- Without a fix
- 3
- Exploited in attacks
- 3
Severity breakdown
- Critical 47
- High 104
- Medium 192
- Low 17
Disclosures per year
- 2019: 7
- 2020: 0
- 2021: 0
- 2022: 214
- 2023: 32
- 2024: 62
- 2025: 45
- 2026: 0
-
Magento 2 Community Edition Access Control Bypass this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.