Chat on WhatsApp
Part of Become your own Magento developer

Magento security patches: what to check before your developer applies one

Applying a Magento security patch is a job for a developer. You can run a lot of your store yourself, but patching touches Composer, compiled code and every customisation on the site, and a bad patch can take checkout down. What you can own is the check before and after. Below is the checklist I would want every store owner to run through with their developer: which patch, staging first, backup, how to verify it worked, and how to undo it.

Should you apply Magento security patches yourself?

My honest answer is no. Not because the commands are long, they are not, but because the risk sits in what happens around them. A security release can move dozens of packages. It has to be compiled, deployed and checked against every third-party module on your store. When a patch clashes with a customisation, someone has to read the conflict and fix it properly, and that is developer work. Doing it wrong on live means a broken checkout during business hours.

Speed still matters. Advisories are followed by scanners probing Magento stores within days, so a patch that waits three weeks for someone to find time is a real risk. The answer to that is not doing it yourself, it is having a developer you can reach quickly and a clear process they follow every time. The checklist below is how you make sure that process is in place.

This page is part of become your own Magento developer, and it is the one area where my advice is to hand the work over. For the background on this year's bugs, read my StyleSmuggler and SessionReaper security guide.

Your part: know when a patch is out

You do not need to apply the patch, but you should not wait for someone else to notice it either. Three habits cover it.

  • Adobe Security Bulletins (APSB). Adobe publishes each Magento and Adobe Commerce security fix as a numbered bulletin. It lists the affected versions, the severity, the CVE and the fixed version. Subscribe to Adobe's security notifications so you see it the day it goes out.
  • Sansec. Sansec's research team posts early warnings and data on real attacks. When they report that a bug is being exploited, treat the patch as urgent rather than waiting for the next planned slot.
  • Your own version. The Magento version shows in the footer of the admin panel. Write it down and compare it with the fixed version in the bulletin. If the fixed version is newer than yours, message your developer.

Checklist: what to ask before your developer applies the patch

Send these questions with your request, or ask them on the call. A good developer will have answers ready. Vague answers are a sign to slow down.

1. Which bulletin and which patch?

Ask for the APSB number and the CVE, and for a plain answer on whether your version is affected. Then ask how it will be applied: a move to the fixed release (for example a -p patch release of your current version), or a single fix from Adobe's Quality Patches Tool (magento/quality-patches) on the version you already run. Both are normal. You just want to know which one and why.

2. Will it go to staging first?

The patch should be applied and tested on a staging copy that matches live (same Magento version, same extensions, same PHP version) before it goes anywhere near your customers. If there is no staging copy, ask the developer to set one up as part of the job. Patching live first is the one thing to refuse.

3. Is there a fresh backup?

Ask for a database backup plus the code and media, taken right before the patch, and ask where it is stored. A backup only counts if it can be restored, so ask when a restore was last tested.

4. How will you verify it worked?

Agree on the checks before the work starts, so "done" means the same thing to both of you:

  • The new version number shows in the admin footer, or the developer shows you the patch status for a single fix.
  • Homepage, a category page, a product page and search all load.
  • Add to cart and a full test order go through, including payment and the order email.
  • The admin panel loads and orders can be opened and invoiced.
  • No new errors in the Magento logs after the deploy.

5. What is the rollback plan?

Ask what happens if something breaks on live: how the change is undone (a code revert, or a restore from the backup), how long that takes, and who does it. Also agree on the timing. Pick a low-traffic window and make sure the developer is reachable for a few hours after the deploy.

QuestionA good answerA warning sign
Which patch?APSB number, CVE, your current version and the fixed version"The latest one"
Staging first?Yes, on a copy that matches live"It is a small patch, I will do it on live"
Backup?Database, code and media, taken today, stored off the server"The host has backups somewhere"
Verification?A list of checks, including a full test order"If the homepage loads it is fine"
Rollback?How, how long, and who, agreed before the deploy"We will not need it"

After the patch: what to ask for

When the work is finished, ask for a short written note: which bulletin was covered, what was applied, the new version number, what was tested on staging and on live, and anything that needed a fix along the way. Keep these notes. They are your patch history, and they make the next patch faster because the next developer can see what was done.

Then place a test order yourself. It takes two minutes and it is the best check there is.

When it cannot wait

Skip the routine and get urgent help when:

  • You think you are already breached. A defacement, a card skimmer on checkout, unknown admin users or strange files on the server. That is incident response, and a patch on top of a compromise does not remove the attacker.
  • A zero-day is being exploited. If Adobe has not shipped a fix yet, the store needs a temporary block at the firewall or web server level until the official patch is out.
  • Your version no longer gets security patches. Then the fix is an upgrade project, and it should be planned now.

For any of these, see urgent Magento bug fixing. I pick up urgent security work the same day where I can.

Where I fit in. I apply Magento security patches for store owners the way this checklist describes: staging first, backup before, a written list of checks, a rollback plan, and a short note when it is done. If you do not have a developer you can reach when a bulletin lands, hire me for the patch, or for a standing arrangement so the next one is handled without a scramble.

Frequently asked questions

Can I apply Magento security patches myself?

You can run the commands, but I recommend you do not. A security patch can move many packages at once, has to be compiled and deployed, and can clash with your extensions or customisations. Fixing that safely is developer work. Your part is to spot the bulletin, know your version and make sure your developer follows a safe process: staging first, a fresh backup, agreed checks and a rollback plan.

How do I know when a new Magento security patch is out?

Subscribe to Adobe's security notifications so each Adobe Security Bulletin (APSB) reaches you the day it is published. Each bulletin lists the affected versions, the severity, the CVE and the fixed version. Also follow Sansec, who often report real attacks early. Compare the fixed version with the version in your admin footer, and message your developer if you are behind.

What should I ask my developer before they apply a Magento security patch?

Five things: which bulletin and patch it is and whether your version is affected, whether it will be tested on staging first, whether there is a fresh backup of the database, code and media, how they will verify it worked (including a full test order), and what the rollback plan is if something breaks on live.

What is the difference between a patch release and a quality patch?

A patch release is a new version of the Magento package, for example a -p release of the version you run, and it bundles the security fixes. A quality patch is a single fix applied with Adobe's Quality Patches Tool to the version you already run. Your developer should tell you which route they are taking and why.

How do I check that a security patch was applied?

Look at the version number in the footer of the admin panel and compare it with the fixed version in the bulletin. For a single quality patch, ask your developer to show you the patch status. Then place a test order yourself, and ask for a short written note of what was applied and tested.

What if my store is already hacked or a zero-day is being exploited?

Then it is no longer a routine patch. A compromised store needs investigation and clean-up, and an unpatched zero-day needs a temporary block at the firewall or web server until Adobe releases a fix. Get urgent help the same day rather than waiting for a planned slot.

Need a Magento security patch applied safely? I patch on staging first, take a backup, run the agreed checks and send you a short note when it is done.

Hire me for the patch Urgent security help