Vulnerability record

CVE-2026-87902

WordPress Core Remote File Inclusion Vulnerability

Severity: HighExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Core, fix it now.

CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

US federal civilian agencies must remediate by Sep 28, 2026.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

Description

An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
CoreWordPress——KEV
WordPressWordPress< 4.7.37; >= 4.8, < 4.8.32; >= 4.9, < 4.9.33; >= 5.0, < 5.0.29; >= 5.1, < 5.1.26; >= 5.2, < 5.2.284.7.37; 4.8.32; 4.9.33; 5.0.29; 5.1.26; 5.2.28NVD

Sources: KEV = CISA Known Exploited Vulnerabilities catalog; NVD = NIST National Vulnerability Database.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2026-87902 scored CVSS 8.1: WordPress Core, WordPress Core Remote File Inclusion Vulnerability

    CISA lists this as exploited in the wild. Unpatched Core systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

  2. Added to CISA KEV

    CVE-2026-87902 added to CISA KEV: WordPress Core, WordPress Core Remote File Inclusion Vulnerability

    CISA lists this as exploited in the wild. Unpatched Core systems are exposed to active attacks now.

    Basis: CISA Known Exploited Vulnerabilities catalog

Coverage

Severity: HighAction: PatchExploitation: ExploitedCISA KEV

CISA Adds One Known Exploited Vulnerability to Catalog

Why it matters

CISA lists this as exploited in the wild. Unpatched WordPress and Core systems are exposed to active attacks now.

Patch

Apply the vendor's security update for WordPress and Core.

References

  • github.com https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-ba…
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-87902
  • patchstack.com https://patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch…
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902