Back to all articles
Awarely Monitor
6 min5 sources

WordPress CVE-2026-87902, Exploited Hours After the Patch: Who Is Responsible for Your Organisation's Website

WordPress fixed a critical flaw in the platform's core on 22 September, and the first exploitation attempts appeared the same day. CISA added it to its catalogue of exploited vulnerabilities and Romania's DNSC issued an alert. For a Romanian organisation the useful question is not "is the site updated?" but "who can prove it, and who checks whether it was already compromised?".

On 22 September 2026, WordPress released version 7.1.2 and updates for every branch from 4.7 onwards to fix CVE-2026-87902. The official advisory describes it as an unauthenticated path traversal flaw in the mechanism that selects a page's template. Under certain conditions it can lead to remote code execution. It is scored 9.2 out of 10.

In practice, the patch also served as a manual for attackers. According to Patchstack, quoted by SecurityWeek, the payloads attackers used match exactly the encoding the patch addresses. Whoever built them worked from the code diff, not from an independent discovery.

02

What is confirmed

  • Affected versions, per the WordPress advisory: 4.7.0 to 7.1.1.
  • Fixed versions: 7.1.2, 7.0.6, 6.9.9, 6.8.10, 6.7.9, 6.6.9 and the corresponding updates for all older branches down to 4.7.37. Versions before 4.7 are not listed as affected, but they no longer receive security updates either.
  • Conditions for code execution, according to the advisory: the active theme contains a top-level directory whose name starts with "page-", and a readable PHP file exists on the server that can be used in the attack chain. The advisory notes these conditions occur in widely used themes such as Twenty Twelve, Twenty Fourteen, Neve, Hestia and Sydney, and in common hosting setups such as some official PHP Docker images and default cPanel configurations.
  • Exploitation: CISA added CVE-2026-87902 to the KEV catalogue on 25 September, with a remediation deadline of 28 September for US federal agencies and a forensic triage requirement.
  • In Romania, DNSC published an alert on 24 September about a critical vulnerability in WordPress Core.
03

How fast the attack moved

BleepingComputer reports that Patchstack saw the first malicious reconnaissance less than five hours after the patch was published on 22 September. By 23 September the volume had grown tenfold, and attackers had moved from probing to writing files and installing PHP web shells. The Hacker News also cites Previdian, which recorded attempts in its honeypot network.

For an organisation's website, this means the window between patch and attack was measured in hours, not days. If your update process is "once a month, when the web colleague has time", it came too late for this flaw.

04

What is not known

  • How many sites were actually compromised. The sources cited describe attempts and compromises but give no verified number.
  • How many sites in Romania or Europe are vulnerable. Exposure estimates are circulating in the press, but we could not tie them to a primary source, so we do not repeat them.
  • Whether the flaw has been used in ransomware campaigns. KEV marks that as "unknown".
05

Why automatic updates do not close the matter

WordPress applies security updates automatically by default, and that probably protected many sites. But automatic updates can be disabled by the hosting company, a plugin, a configuration setting or a team that wanted "to control changes". More importantly, a site updated automatically after it was compromised stays compromised. The patch closes the door; it does not remove what already came in.

The typical situation in a Romanian organisation: an agency built the site a few years ago, it is hosted with a provider chosen on price, and nobody inside the organisation has an administrator password that still works. In that case the question "are we affected?" does not have an answer so much as a missing owner.

06

The concrete steps, in order

  • Inventory: list every WordPress site the organisation has, including campaign microsites, EU-funded project sites and forgotten old blogs still online. For each one, record who has administrator access and who hosts it.
  • Version: check each site's WordPress version and whether it is one of the fixed versions. Ask for evidence, a screenshot or a report, not the agency's verbal confirmation.
  • Automatic updates: check whether automatic security updates are on, and if not, who turned them off.
  • Triage: if a site ran a vulnerable version after 22 September, especially with one of the themes named in the advisory, have someone check for new or modified PHP files in temporary directories and the site directory, recently created administrator accounts, and the web server logs.
  • If you find signs of compromise: do not stop at deleting the suspicious file. Change administrator, database and hosting passwords, check whether the site was used to serve malware or phishing pages, and reinstall from a clean copy.
  • Unsupported versions: a site on a very old version no longer gets fixes for any future flaw, even if it is not on this CVE's list. The decision is either migration or taking it offline. Put it in writing, with an owner.

Sources and verification

Open the original sources for context, updates and the exact wording of claims.

AWARELY Intelligence

Continue reading

View all articles