is there any way to download the patch APSB23-35 and manually apply it ? I have several older Magento2 installations, and update them is a time consuming task - so i was wondering if there is a "hotfix" so i can manyally deploy it.


2 Answers 2


Apply only the security patch in your current magento. please follow the below commands.

Before you start running the command please check whether your current magento version is affected or not. : https://helpx.adobe.com/security/products/magento/apsb23-35.html

For 2.4.6 and earlier

Affected Version: 2.4.6

composer require-commerce magento/product-community-edition 2.4.6-p1 --no-update

composer require magento/product-community-edition 2.4.6-p1 --no-update

composer update magento/product-community-edition=2.4.6-p1 -w

composer update

For 2.4.5 and earlier

Affected Version: 2.4.5, 2.4.5-p1, 2.4.5-p2

composer require-commerce magento/product-community-edition 2.4.5-p3 --no-update

composer require magento/product-community-edition 2.4.5-p3 --no-update

composer update magento/product-community-edition=2.4.5-p3 -w

composer update

For 2.4.4 and earlier

Affected Version: 2.4.4, 2.4.4-p1, 2.4.4-p2, 2.4.4-p3

composer require-commerce magento/product-community-edition 2.4.4-p4 --no-update

composer require magento/product-community-edition 2.4.4-p4 --no-update

composer update magento/product-community-edition=2.4.2-p4 -w

composer update
  • Hi.. all 2.3.x versions seem affected and all version below 2.4.3-p1 Also, reading the documentation on composer, seems that the commands will update the Magento into the specified in "require"...or am i wrong? Jun 21 at 14:51
  • No, this patch is not for 2.3.x version. You can read about patch bby using this link : sparsh-technologies.com/blog/…
    – Msquare
    Jun 21 at 15:00
  • for 2.3.x needs to be upgraded to their store 2.4.x Magento provides security patches for some versions only. for more please check this link: mageplaza.com/kb/install-magento-2-security-patches.html
    – Msquare
    Jun 21 at 15:02
  • @ArmindoPereira I added the affected version name. Please check it and update your store.
    – Msquare
    Jun 21 at 15:08

One thing you can do:

You can upgrade the Magento in a separate instance and check the updated code and then you are able to apply the custom patch in the code.

  • thanks for the reply, but that will have thousands of files changed....i was looking for a .zip or .tgz or .patch so i can directly check the files. A patch for the different versions Jun 20 at 14:37
  • Have you contacted with the Magento Support
    – Rana Zain
    Jun 20 at 15:11
  • 1
    Not yet, since i'm using the open source version Jun 20 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.