Hacked store
Magento Store Hacked? Cleanup, Patching and Hardening
If your Magento store has been hacked, act quickly but do not delete anything yet. Take a backup as evidence, change admin passwords, and tell your payment provider if card data may be at risk. I remove the malware, patch the store, rotate credentials and harden it so the same hole cannot be used again. You get a fixed quote after a first look at the store.
A hacked store usually means a skimmer stealing card details at checkout, a hidden admin user or a backdoor file. Cleaning it up is only half the job. If the hole that let the attacker in stays open, they come back.
Last updated:
An honest note
SessionReaper (CVE-2025-54236) is a recent example. It is a critical flaw in Magento and Adobe Commerce that can let an attacker take over a store without logging in. Adobe fixed it in security bulletin APSB25-88 on 9 September 2025 and included the fix in the regular APSB25-94 release in October 2025. Sansec reported mass automated attacks from 22 October 2025. If your store does not have this fix, treat it as urgent.
Source: Sansec research on SessionReaper. Last checked: November 2026.
What are the signs of a hacked store?
- Customers report card fraud after buying from you
- Your payment provider or bank has contacted you about a possible breach
- You found an admin user nobody recognises
- Google, your browser or a scanner warns that the site is unsafe
- There is unknown JavaScript on your checkout page, or strange files on the server
- Visitors are redirected to spam or scam sites
What is included
- ✓ Malware scan of files, database and configuration
- ✓ Removal of skimmers, backdoors and unknown admin users
- ✓ Security patches applied, including missing Adobe fixes
- ✓ Credential rotation: admin, hosting, SSH, database, API and payment keys
- ✓ A Content Security Policy to limit which scripts can run on checkout
- ✓ Monitoring so a new infection is spotted early
- ✓ A written report of what was found, what was fixed and what to watch
Does your store have the APSB26-146 hotfix?
On 7 September 2026 Adobe released security update APSB26-146, a critical hotfix for CVE-2026-75650. It fixes a flaw that could let an attacker run code on a store without logging in, and Adobe is aware that it has been exploited in the wild against Adobe Commerce merchants.
If your store does not have this hotfix, apply it first. Adobe also says to rotate your encryption key and every credential it protected, such as server, API, integration and payment gateway credentials, at their source. Then check the store for signs of compromise.
Read the APSB26-146 summary: affected versions, patch files and steps →
What should you do in the first 60 minutes?
Steps a store owner can take straight away. They limit the damage and keep the evidence needed to clean up properly.
- ✓ Do not delete files or restore an old backup yet. The old backup may contain the same backdoor
- ✓ Ask your host for a full backup or snapshot of files and database, and keep it as evidence
- ✓ If card data may be at risk, consider turning off checkout and contact your payment provider
- ✓ Change the passwords of every Magento admin user, and turn on two factor authentication
- ✓ Check the admin user list and disable anyone you do not recognise
- ✓ Change your hosting, SSH and database passwords
- ✓ Write down what you noticed and when, for your payment provider and your own records
How do Magento stores get hacked?
Most hacks come through one of a few doors.
- ✓ Unpatched versions: missing Adobe security patches, such as the APSB26-146 hotfix for CVE-2026-75650, which Adobe says is exploited in the wild, or the SessionReaper fix
- ✓ Leaked admin passwords, often reused from another site or stolen from a laptop
- ✓ Vulnerable or abandoned extensions with known security holes
- ✓ Card skimmers injected into checkout through one of the above
- ✓ Old developer or agency accounts that were never removed
Process
How does the work run?
Every change is tested on staging first. You always know what changed and why.
Contain
Stop further damage: block the attacker's access and protect checkout, with a backup kept as evidence.
Investigate
Find how they got in and everything they changed, in files, database and settings.
Clean and patch
Remove the malware, close the hole and apply missing security patches.
Harden and monitor
Rotate credentials, add a Content Security Policy and set up monitoring.
How much does it cost?
Fixed quote after a first look
Containment can start before the full quote if card data is at risk.
Latest Adobe security update
APSB26-153, fixes released 13 October 2026. Adobe Commerce security update APSB26-153 (October 2026, priority 2): who is affected, what the critical fixes cover, and what to do now.
Common problems I fix
FAQ
Common questions.
Should I take my store offline?
If card details may be stolen at checkout, turning off checkout or using maintenance mode limits the damage. Otherwise, keep it running while the cause is found. Each case is different, so ask before you decide.
Do I have to tell my customers or a regulator?
It depends on the law where you trade and on what was taken. In the UK and EU, a breach of personal data that puts people at risk must usually be reported to the regulator within 72 hours. Check with your legal adviser.
Is my store patched against SessionReaper?
Your store needs the APSB25-88 hotfix or a later Adobe security release that includes it. A quick check of your version and applied patches confirms it.
Can you guarantee it will not happen again?
No one can honestly guarantee that. Patching, fewer extensions, strong passwords with two factor authentication, a Content Security Policy and monitoring make it much harder.
Will the cleanup break my store?
Urgent containment sometimes has to happen on the live store. Everything else is tested on staging first, as with any other work.
Related
Ready to talk about your store?
Send a few lines about your store, or book a 20 minute call. You get an honest read and a fixed quote. No obligation.