WordPress core was exploited twice in 2026. Here is how to check you are patched

Three WordPress core flaws reached CISA’s exploited list in 2026, one attacked the day it was fixed. Dates, who is affected, and how to check your site.

Our content is written and reviewed by the Four Cents team. We may recommend our own services. Read our editorial standards.

On this page

WordPress core had a rare year in 2026. Two security releases, 7.0.2 on 17 July and 7.1.2 on 22 September, fixed flaws that the US Cybersecurity and Infrastructure Security Agency now lists as exploited in real attacks, and the September one was attacked on the day the fix came out. Most sites updated themselves automatically. This page explains what happened, who is still exposed, and the checks that tell you whether your site is one of them.

What happened, in date order

WordPress core had two critical security events in 2026, and attackers moved on both within days. Here is the sequence, with the source for each line.

Date (2026)EventSource
17 JulyWordPress 7.0.2 fixes "one critical and one high severity security issue". WordPress.org enables forced updates through the auto-update system.WordPress.org
21 JulyCISA adds CVE-2026-63030 and CVE-2026-60137, the two 7.0.2 flaws, to its Known Exploited Vulnerabilities catalog.CISA
19 AugustElementor Pro 4.2.2 fixes CVE-2026-32475, a file-upload flaw in Elementor forms.BleepingComputer
3 SeptemberBleepingComputer reports active exploitation of the Elementor Pro flaw.BleepingComputer
15 SeptemberBleepingComputer reports attacks on the WooCommerce Wholesale Lead Capture plugin, CVE-2026-27540.BleepingComputer
17 SeptemberWordPress 7.1.1 ships with 11 security fixes.WordPress.org
22 SeptemberWordPress 7.1.2 fixes CVE-2026-87902, rated critical, which "can lead to remote code execution". The first exploitation attempt is recorded the same day.WordPress.org, The Hacker News
25 SeptemberCISA adds CVE-2026-87902 to its exploited catalog.CISA
1 OctoberSucuri's analysis of a self-restoring WordPress backdoor is reported.The Hacker News
6 OctoberWordPress 7.1.3 ships with 7 security fixes. It is the current version.WordPress.org

Why this is news: before July 2026, CISA's catalog held no WordPress core vulnerabilities at all. The three older entries filed under WordPress are all plugins. We checked the full catalog on 23 October 2026. Our WordPress security statistics page puts this against the longer-run numbers.

Who is affected

Any site that has not taken the patched release for its branch. WordPress backported the CVE-2026-87902 fix "to all branches eligible to receive security fixes (currently through 4.7)", so the fix exists for old sites too. The question is only whether your site installed it.

  • The July flaws (7.0.2): WordPress said 6.9 was affected by both vulnerabilities, 6.8 by the first only, and that versions before 6.8 were not affected.
  • The September flaw (7.1.2): The Hacker News, quoting Previdian, lists the conditions an attacker needs: the active theme or its parent contains a top-level folder whose name starts with page- (for example page-templates), and a suitable readable PHP file exists on the server. Previdian's founder said those preconditions make exploitation less likely and expected relatively few actual compromises, because automatic updates are on by default.
  • Sites at real risk: those with automatic updates switched off, blocked by file permissions or a host setting, or broken by a failed update that nobody noticed. Also anyone still running a vulnerable version of Elementor Pro or WooCommerce Wholesale Lead Capture.
Auto-updates switched off on your site?Many custom builds disable them. We can confirm what version you are really on and whether anything got in, then patch it safely. Free first look.
Request a free check

Check your version in two minutes

The fastest check is the dashboard: Dashboard, then Updates shows your exact version. Compare it with the table below, which we took from the WordPress.org version API on 23 October 2026.

Your branchLatest security release on that branch (23 Oct 2026)Includes the 7.1.2 fix?
7.17.1.3Yes (7.1.2 or later)
7.07.0.7Yes (7.0.6 or later)
6.96.9.10Yes (6.9.9 or later)
6.86.8.11Yes (6.8.10 or later)
Older, back to 4.7A backported release exists for each branchCheck the branch's latest release

The "or later" versions in the last column are the patched releases The Hacker News listed for CVE-2026-87902: 7.1.2, 7.0.6, 6.9.9 and 6.8.10. Being on an old branch with backports is not the same as being safe in general. Old branches still require old plugins and often old PHP, which brings its own risks.

If you have shell access, WP-CLI gives a definite answer and confirms the core files have not been altered:

# exact version
wp core version

# is an update waiting?
wp core check-update

# compare every core file with the official checksums
wp core verify-checksums

Any file reported by verify-checksums as not matching is a reason to stop and investigate before doing anything else.

Make sure automatic security updates work

Automatic minor updates are what protected most sites this year, so confirm yours are not disabled. These lines in wp-config.php switch them off:

# look for settings that block updates
grep -nE "AUTOMATIC_UPDATER_DISABLED|WP_AUTO_UPDATE_CORE|DISALLOW_FILE_MODS" wp-config.php
  • define( 'AUTOMATIC_UPDATER_DISABLED', true ); turns off all background updates.
  • define( 'WP_AUTO_UPDATE_CORE', false ); turns off core updates, including security releases.
  • define( 'DISALLOW_FILE_MODS', true ); blocks updates from the dashboard as well.

Some agencies set these deliberately and update by hand on a schedule. That is a reasonable choice only if a person actually applies security releases within a day or two. If nobody is doing that, remove the block or hand the job to someone who will. Also check Tools, then Site Health, which reports when background updates are not working.

Look for signs someone got in

Patching closes the door. It does not remove anyone who came in before you closed it. The reports name specific indicators worth checking.

For CVE-2026-87902

The Hacker News reported attackers writing PHP files into /tmp and /var/tmp, with file names including wp-pear-rce-flag.php, poc87902.php, luci_<random>.php and zeta_<random>.php, and abusing pearcmd.php.

# named files from the reports
find /tmp /var/tmp -maxdepth 2 ( -name 'wp-pear-rce-flag.php' -o -name 'poc87902.php'   -o -name 'luci_*.php' -o -name 'zeta_*.php' ) 2>/dev/null

# does your active theme have a top-level page-* folder? (one of the preconditions)
ls -d wp-content/themes/*/page-*/ 2>/dev/null

On shared hosting you may not see /tmp. Ask your host to run the search, or ask them for access logs from 22 September onwards.

For Elementor Pro (CVE-2026-32475)

BleepingComputer, citing the researchers, says a PHP file inside the Elementor forms upload folder is a strong sign of compromise:

find wp-content/uploads/elementor/forms -name '*.php' 2>/dev/null

For any compromise

# administrators you do not recognize
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

# PHP files in uploads, which should hold none
find wp-content/uploads -name '*.php'

# scheduled tasks you did not create
wp cron event list

If any of these turn something up, do not just delete the file. The backdoor Sucuri analyzed this month keeps copies in at least eight places across files, the database and shared memory, and the report says the next page load restores the whole set. Follow the full process in how to fix a hacked WordPress site, or restore from a backup taken before the compromise, which is what BleepingComputer's sources recommended for the WooCommerce attacks.

Found something on your server?A partial cleanup is how sites get reinfected. We remove the malware, the persistence and the way in, then harden the site. Tell us what you found.
Get hacked-site help

The plugin flaws that ran alongside

PluginCVEFlawFixed inReported activity
Elementor ProCVE-2026-32475Arbitrary PHP upload through forms, leading to code execution4.2.2 (19 August 2026)More than 190,000 blocked attempts between 19 and 23 August, per Wordfence via BleepingComputer
WooCommerce Wholesale Lead Capture (premium)CVE-2026-27540Unauthenticated file upload of PHP webshells2.0.3.2Over 100,000 attacks blocked, per Wordfence via BleepingComputer

Both are premium plugins, and both were attacked after the fix existed. That fits Patchstack's finding that premium components had three times more known exploited vulnerabilities than free ones in 2025. Premium plugins often update through a licence key, and an expired licence quietly stops updates. Check yours.

wp plugin list --fields=name,version,update_version,auto_update

Deadline checklist

Work down this list in order. The dates come from the sources linked on this page.

  • Today: confirm you are on 7.1.3 or the latest release of your branch.
  • Today: confirm automatic security updates are not disabled in wp-config.php.
  • Today: update Elementor Pro to 4.2.2 or later and WooCommerce Wholesale Lead Capture to 2.0.3.2 or later if you use them.
  • This week: run the indicator checks above, or ask your host or developer to.
  • This week: renew any lapsed premium plugin licence so updates arrive again.
  • This week: take a fresh off-site backup and test that it restores.
  • Before 8 December 2026: plan for WordPress 7.2, which is scheduled for that date. See the 7.2 release guide.
  • Before 31 December 2026: move off PHP 8.2 or older. See PHP 8.2 end of life.

US federal civilian agencies had a CISA deadline of 28 September 2026 for CVE-2026-87902. That deadline is binding only on those agencies, but it is a fair signal of how urgent the patch was for everyone else.

We will update this page when WordPress publishes another security release or CISA adds another WordPress core entry.

What this changes for site owners

It ends the idea that core can be ignored. For years the practical advice was to watch plugins and let core look after itself. Core was still mostly fine this year, but only for sites where the automatic updater was allowed to run.

Three lessons hold whatever happens next:

  1. Patch speed is the control that matters. The first attempt on CVE-2026-87902 came the same day as the fix.
  2. A patch is not a cleanup. If the site was exposed before the update, check for signs of entry.
  3. Somebody has to own it. Disabled auto-updates, lapsed licences and failed updates are human problems. A maintenance plan exists so that a named person notices.
Want security releases handled within a day?Our care plans apply core and plugin security updates on a staging copy first, keep tested off-site backups, and include malware scanning. Get a fixed-scope quote.
See care plans

Frequently asked questions

What is CVE-2026-87902?

A critical WordPress core flaw fixed in 7.1.2 on 22 September 2026. WordPress says an unauthenticated attacker could, under certain conditions, make template resolution include a local PHP file outside the theme folders, which can lead to remote code execution. CISA added it to its exploited list on 25 September.

Which WordPress version is safe?

As of 23 October 2026 the current version is 7.1.3. If you are on an older branch, the latest release of that branch includes backported fixes, for example 7.0.7, 6.9.10 or 6.8.11.

Did my site update itself?

If automatic background updates are working, probably yes, and WordPress.org forced the 7.0.2 update for affected versions. Check Dashboard, then Updates, to see your exact version, and look in wp-config.php for settings that disable updates.

I was on an old version during September. Was I hacked?

Not necessarily. The September flaw needs specific conditions. Run the indicator checks on this page, verify core checksums, review administrator accounts and look for PHP files in uploads. If anything is found, treat it as a full compromise.

Is updating enough if I was compromised?

No. Updating closes the hole but leaves any backdoor in place. Some current malware restores itself from the database or shared memory, so a proper cleanup or a restore from a clean backup is needed.

Are premium plugins safer than free ones?

Not in the 2025 data. Patchstack found premium components had three times more known exploited vulnerabilities than free ones. Both plugins attacked in this period, Elementor Pro and WooCommerce Wholesale Lead Capture, are premium.

Will you update this page?

Yes. We will update it when WordPress publishes another security release or CISA adds another WordPress core entry.

Sources

Each figure and date above comes from one of these. The retrieved date is when we last confirmed the source still says what we say it says.

  1. WordPress 7.0.2 Release WordPress.org. Retrieved 2026-10-23.
  2. WordPress 7.1.1 Maintenance and Security Release WordPress.org. Retrieved 2026-10-23.
  3. WordPress 7.1.2 Release WordPress.org. Retrieved 2026-10-23.
  4. WordPress 7.1.3 Maintenance and Security Release WordPress.org. Retrieved 2026-10-23.
  5. WordPress version check API (latest release per branch) WordPress.org. Retrieved 2026-10-23.
  6. Known Exploited Vulnerabilities Catalog Cybersecurity and Infrastructure Security Agency (CISA). Retrieved 2026-10-23.
  7. Attackers Exploit WordPress CVE-2026-87902 Within Hours of Disclosure The Hacker News. Retrieved 2026-10-23.
  8. Critical Elementor Pro flaw exploited to take over WordPress sites BleepingComputer. Retrieved 2026-10-23.
  9. Hackers target WordPress sites via third-party WooCommerce plugin BleepingComputer. Retrieved 2026-10-23.
  10. WordPress backdoor rebuilds itself after cleanup The Hacker News. Retrieved 2026-10-23.
  11. State of WordPress Security in 2026 Patchstack. Retrieved 2026-10-23.

About the author

Hamza Hai

Founder, Accountant & Project Manager, Four Cents

Hamza Hai is a founder of Four Cents and its accountant and project manager. She keeps projects on track and the numbers clear.

She manages timelines, scope and client communication, so there are no surprises for clients along the way.

She writes the guides on WPDeveloper.ca, including its WordPress planning guides. They draw on the quoting and scoping work she does for Four Cents clients every week.

Areas of expertise

  • Software and app project management
  • Development costing and estimates
  • Project scoping
  • Budgeting for software projects

All articles by Hamza Hai (133 on WPDeveloper.ca)

Reviewed by Zee, Founder & Lead Developer, Four Cents

Zee leads every Four Cents build as the senior full-stack engineer, from the first call to launch and beyond, and technically reviews the articles on this site.

Our editorial standards: who writes and reviews our articles, where our prices come from and how to report a correction.

Start a project

Tell us about your WordPress project

A free consultation and a written, fixed-scope quote. No obligation, no pressure.

  • A reply within 24 hours
  • Fixed-scope quote before any work starts
  • You own the code, content and accounts

Prefer to talk? Call +1 (365) 440-1786 or email info@fourcents.ca.

Request your free quote

Fields marked with an asterisk are required.

Please enter your name.

Please enter a valid email address.

Please enter a phone number so we can reach you.

Please tell us a little more about your project (10 characters or more).