Patching Magento SUPEE-10570

SUPEE-10570 is an important security update for Magento to address remote code execution and SQL injection vulnerabilities.

Where to download

Its best downloading the patch from the download section - or via MDA - the Magento download tool (this is what this guide will use).


  • SUPEE-9652v2

Applying the patch

The application of this patch is relatively straightforward. I'd recommend doing this in staging/development before attempting on live (if you don't have a dev. site follow this guide to create one).

  1. Change directory to your Magento document root and fetch mda.phar (the Magento downloader tool), if using Enterprise, refer to the documentation here to provide your id/token.

     cd /microcloud/data/domains/example/domains/
     wget -O mda.phar --no-check-certificate
     php mda.phar
  2. Select either CE/EE patch as appropriate,

     1:    Ce-patch
     3:    Ee-patch
  3. Select the auto detected version of Magento,

     0: (auto detected)
  4. Select the SUPEE-10570 patch (or press m to download all missing patches),

     0:    SUPEE-10570 for CE (
  5. Copy the patch to your Magento document root and apply it,

     cp ./downloads/PATCH_SUPEE-10570* .
     bash PATCH_SUPEE-10570*
  6. Clean your Magento cache using MageRun,

     mr_examplecom cache:clean

Known issues