CVE-2019-7871
HIGH 8.8CVSS 3.0Magento 2 Community Edition Unsafe File Upload
A security bypass 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 that could be abused to execute arbitrary PHP code. An authenticated user can bypass security protections that prevent arbitrary PHP script upload via form data injection.
- Published
- 2 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-v527-6h5r-cfg8
- Sources
- NVDJSONOSV GHSA-v527-6h5r-cfg8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.1.0, < 2.1.18 | 2.1.18 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.2.0, < 2.2.9 | 2.2.9 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.3.0, < 2.3.2 | 2.3.2 |
| OSV | Packagist | magento/community-edition | >= 2.1.0, < 2.1.18 | 2.1.18 |
| OSV | Packagist | magento/community-edition | >= 2.2.0, < 2.2.9 | 2.2.9 |
| OSV | Packagist | magento/community-edition | >= 2.3.0, < 2.3.2 | 2.3.2 |
References
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-7871 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7871.yaml · WEB
- https://github.com/magento/magento2 · PACKAGE
- 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 · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 2 Aug 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)