Critical

Magento 2 Community Edition RCE via Unsafe File Upload

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 12:17

Magento versions 2.4.0 and 2.3.5p1 (and earlier) are affected by an unsafe file upload vulnerability that could result in arbitrary code execution. This vulnerability could be abused by authenticated users with administrative permissions to the System/Data and Transfer/Import components.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package magento/community-edition < 2.4.1 2.4.1
Composer package magento/project-community-edition <= 2.0.2 no fix
Magento (core) magento/community-edition < 2.4.1, <= 2.0.2 2.4.1

References

CVSS score 9.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-434
Platform
Composer, Magento
Package
magento/community-edition, magento/project-community-edition
Disclosed
24.05.2022
Updated
11.10.2026 12:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7pxg-6p87-8c9v - CC BY 4.0

Vulnerability history: magento/project-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.

All (161) in the archive
Total entries
161
First → latest
11.2019 10.2025
Without a fix
160
Exploited in attacks
1

Severity breakdown

  • Critical 24
  • High 48
  • Medium 77
  • Low 12

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 63
  5. 2023: 31
  6. 2024: 23
  7. 2025: 43
  8. 2026: 0
Severity:
  1. High · 8.1 CVE-2025-54264 <= 2.0.2 no fix
  2. Critical · 9.1 Exploited in attacks CVE-2025-54236 <= 2.0.2 no fix
  3. High · 8.1 CVE-2025-49555 <= 2.0.2 no fix
  4. High · 7.5 CVE-2025-49554 <= 2.0.2 no fix
  5. High · 8.7 CVE-2025-49557 <= 2.0.2 no fix
  6. High · 8.2 CVE-2025-43585 <= 2.0.2 no fix
  7. Critical · 9.1 CVE-2025-24434 <= 2.0.2 no fix
  8. High · 8.7 CVE-2025-24438 <= 2.0.2 no fix
  9. High · 7.5 CVE-2025-24406 <= 2.0.2 no fix
  10. High · 8.2 CVE-2025-24409 <= 2.0.2 no fix
  11. High · 8.7 CVE-2025-24417 <= 2.0.2 no fix
  12. High · 8.7 CVE-2025-24416 <= 2.0.2 no fix
  13. High · 8.7 CVE-2025-24415 <= 2.0.2 no fix
  14. High · 8.7 CVE-2025-24414 <= 2.0.2 no fix
  15. High · 8.7 CVE-2025-24413 <= 2.0.2 no fix
  16. High · 8.7 CVE-2025-24412 <= 2.0.2 no fix
  17. High · 8.1 CVE-2025-24411 <= 2.0.2 no fix
  18. High · 8.7 CVE-2025-24410 <= 2.0.2 no fix
  19. High · 7.6 CVE-2024-39403 <= 2.0.2 no fix
  20. High · 8.1 CVE-2024-39400 <= 2.0.2 no fix
  21. High · 7.7 CVE-2024-39399 <= 2.0.2 no fix
  22. High · 8.4 CVE-2024-39402 <= 2.0.2 no fix
  23. High · 8.4 CVE-2024-39401 <= 2.0.2 no fix
  24. High · 9.0 CVE-2024-20758 <= 2.0.2 no fix
  25. High · 9.1 CVE-2024-20720 <= 2.0.2 no fix
  26. High · 9.1 CVE-2024-20719 <= 2.0.2 no fix
  27. Critical · 9.1 CVE-2021-36023 <= 2.0.2 no fix
  28. High · 7.5 CVE-2023-22247 <= 2.0.2 no fix
  29. High · 10.0 CVE-2022-35698 <= 2.0.2 no fix
  30. High CVE-2021-36020 <= 2.0.2 no fix
  31. High · 7.2 CVE-2021-36022 <= 2.0.2 no fix
  32. High · 8.8 CVE-2021-36032 <= 2.0.2 no fix
  33. Critical CVE-2021-36028 <= 2.0.2 no fix
  34. Critical CVE-2021-36033 <= 2.0.2 no fix
  35. High CVE-2021-36030 <= 2.0.2 no fix
  36. High · 7.2 CVE-2021-36029 <= 2.0.2 no fix
  37. Critical · 9.1 CVE-2021-36042 <= 2.0.2 no fix
  38. High · 7.2 CVE-2021-36041 <= 2.0.2 no fix
  39. High · 7.2 CVE-2021-36034 <= 2.0.2 no fix
  40. Critical · 9.1 CVE-2021-36040 <= 2.0.2 no fix
  41. Critical · 9.1 CVE-2021-21014 <= 2.0.2 no fix
  42. Critical · 9.1 CVE-2021-21025 <= 2.0.2 no fix
  43. Critical · 9.1 CVE-2021-21016 <= 2.0.2 no fix
  44. Magento 2 Community Edition RCE via Unsafe File Upload this entry
    Critical · 9.1 CVE-2020-24407 <= 2.0.2 no fix
  45. Critical · 9.6 CVE-2020-9691 <= 2.0.2 no fix
  46. Critical · 9.8 CVE-2020-9630 <= 2.0.2 no fix
Show more (12) Showing 60 of 72

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.