NOV 29 2017

How to install SUPEE-10415

November 29, 2017: Community Edition and SUPEE-10415 Security Enhancements – 11/29/2017.
New SUPEE-10415 patch can be downloaded as usual from Downloads page: or installed as a regular Magento upgrade via Downloader (it is included in Magento version). You can install it in the same way as previous patches or by upgrading to Magento To apply the patch you need SSH access (shell access actually, SSH is just most used way to get shell access) to the server. If you have no SSH access, you can refer to How to apply SUPEE-10415 without SSH. If you wish to save time and have us to install these patches for you, simply click here to order installation.

Step 0: Preparations

Note: Make sure to Disable Magento Compiler at System > Configuration > Tools > Magento Compiler and clear compiled cache.

Step 1: Verify your Magento version

$ grep -A6 'static function getVersionInfo' app/Mage.php
    public static function getVersionInfo()
        return array(
            'major'     => '1',
            'minor'     => '9',
            'revision'  => '2',
            'patch'     => '4',
As you can see in the example, it is Magento

Step 2: Download corresponding patch

The patch should be downloaded from Make sure to get the right file corresponding to your Magento version.

Step 3: Place patches into Magento Root directory

Upload your files into Magento root directory. It is important to place patch files directly into Magento root directory and execute it also directly in Magento root directory.
$ ls -1 .

Step 4: Run the patches

$ bash ./
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.

Step 5: Verification and flush of Magento PHP opcode cache

Flush Magento caches: Navigate in Magento backend to System > Cache Management and flush Magento cache and CSS/JS caches. If you use PHP opcode caches (OPCache/APC/XCache/eAccelerator) make sure to flush it after patching (or restart webserver), otherwise code will continue to run from caches. Test that your store is working. Test Checkout process. If you have any difficulties with applying the patches please let us know in comments, so we can find the solution together.  

Posted in: Magento Maintenance

How to install SUPEE-10415
28 votes, 4.50 avg. rating (89% score)
  • Uli


    Yes, I have some difficulties. It´s not the first time, I have to install a patch. But it´s the first time with a problem.

    bash ./
    Checking if patch can be applied/reverted successfully…
    /usr/bin/patch: **** Can’t create temporary file app/Mage.php.oKPIwdp : Permission denied
    ERROR: Patch can’t be applied/reverted successfully.

    Do you have any idea?



    • Sélim Izrar

      Hi, Your directory doesn’t have write persmission for the user you’re running the script with.
      You can use sudo -u bash ./PATCH…… , if you have the sudo rights where the user is the user owning your Magento Directory .

  • Jignesh Patel

    Hunk #1 FAILED at 186.
    1 out of 1 hunk FAILED — saving rejects to file app/code/core/Mage/Adminhtml/Controller/Action.php.rej