Free practical cybersecurity guidance for organisations without a security team.
hello@actionsoncyber.com
← Back to Vulnerability Briefs

Critical WordPress Flaw Allows Hackers to Run Malicious Code

A serious security flaw in WordPress has been found that lets attackers run harmful code on your website without needing to log in. This could let hackers take control of your site quickly after the flaw was made public.

24 September 2026

Reference: CVE-2026-87902

1. What is being reported?

The vulnerability involves a function in WordPress that can be tricked into loading files it shouldn’t, including files outside the usual theme folders. If certain conditions are met on your server and theme, this can let attackers execute commands remotely on your website.

2. What this means in plain English

If your WordPress site is affected, hackers could potentially take over your website, steal data, or cause damage. This is a high-risk issue because it can be exploited without any login, making it easier for attackers to act fast.

3. Could this affect a small business?

Small businesses and organisations using WordPress with custom or third-party themes could be at risk, especially if their hosting environment meets the conditions for this flaw. Those not using WordPress or using only standard themes are less likely to be affected.

4. What to do now

  • Check if your WordPress site is using custom or third-party themes and confirm with your provider if the vulnerability affects your setup.
  • Apply any security updates or patches released by WordPress or your theme developers immediately.
  • Review your website hosting environment with your IT provider to understand if your server settings increase risk.
  • Monitor your website for unusual activity and ensure you have recent backups in case recovery is needed.

5. Ask your IT provider

Can you confirm if our WordPress site and hosting environment are vulnerable to CVE-2026-87902, and have all necessary patches been applied?

6. Bottom line

Act quickly to check and update your WordPress site to prevent hackers from exploiting this serious flaw.

Information based on CISA KEV, NVD, and multiple reputable security news reports.

Back to Vulnerability Briefs