← Search CVEs

CVE-2026-87902

HIGH 8.1 KNOWN EXPLOITED PoC CATALOGUED DETECTION TEMPLATE

Published 2026-09-22 · Last modified 2026-09-26

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.

ACTIVELY EXPLOITED

Confirmed exploited in the wild — in CISA KEV since 2026-09-25. Patch or mitigate now.

Exploitation likelihood

95.8%chance of exploitation in 30 days · 100th percentile

● In CISA KEV (2026-09-25) ● Catalogued PoC

Impact if exploited

8.1CVSS 3.1 · HIGH

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

Public PoC or exploit resources are catalogued below.

Listed by the named source; Vulnpedia has not tested these resources.

PoC data: JSON

Detection templates

Detection checks are listed separately from PoCs.

Resource commands

nuclei -id CVE-2026-87902 -u https://TARGETDetection template — review its checks and affected versions before use.
searchsploit --cve CVE-2026-87902 && searchsploit -m 52690Fetch the ExploitDB PoC locally; review the code before running it.
curl -s https://vulnpedia.com/cve/CVE-2026-87902/poc.jsonMachine-readable PoC index for this CVE (for automation).

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Wordpress

Products Wordpress

Weakness (CWE)

  • CWE-98: Remote File Inclusion

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References and research data (JSON)

Vendor product assessments

  • All currently supported Red Hat products · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    Red Hat · CVE-2026-87902 · Updated 2026-09-26T02:00:15+00:00

Unverified PoC candidates

Catalogue matches for further research. These repositories have not been validated as working exploits.

25 candidates

Additional exploitation reports

Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.

  • ENISA EU KEV · 2026-09-23EUVD · EUVD-2026-84555
  • VulnCheck KEV · 2026-09-22T00:00:00Z

    Source guidance: 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.

    Source ransomware assessment: Unknown

    VulnCheck KEV · CVE-2026-87902 · Updated 2026-09-22T00:00:00Z
  • VulnCheck KEV · 2026-09-22T00:00:00ZVulnCheck KEV · CVE-2026-87902
  • VulnCheck KEV · 2026-09-23T00:00:00ZVulnCheck KEV · CVE-2026-87902
    VulnCheck KEV · CVE-2026-87902
  • VulnCheck KEV · 2026-09-25T00:00:00ZVulnCheck KEV · CVE-2026-87902
    VulnCheck KEV · CVE-2026-87902
  • VulnCheck KEV · 2026-09-28T00:00:00ZVulnCheck KEV · CVE-2026-87902

Known Affected Software Configurations

VendorProductVersion range
WordpressWordpress< 4.7.37
WordpressWordpress≥ 4.8 and < 4.8.32
WordpressWordpress≥ 4.9 and < 4.9.33
WordpressWordpress≥ 5.0 and < 5.0.29
WordpressWordpress≥ 5.1 and < 5.1.26
WordpressWordpress≥ 5.2 and < 5.2.28
WordpressWordpress≥ 5.3 and < 5.3.25
WordpressWordpress≥ 5.4 and < 5.4.23
WordpressWordpress≥ 5.5 and < 5.5.22
WordpressWordpress≥ 5.6 and < 5.6.21
WordpressWordpress≥ 5.7 and < 5.7.19
WordpressWordpress≥ 5.8 and < 5.8.17
WordpressWordpress≥ 5.9 and < 5.9.18
WordpressWordpress≥ 6.0 and < 6.0.16
WordpressWordpress≥ 6.1 and < 6.1.14
WordpressWordpress≥ 6.2 and < 6.2.13
WordpressWordpress≥ 6.3 and < 6.3.12
WordpressWordpress≥ 6.4 and < 6.4.12
WordpressWordpress≥ 6.5 and < 6.5.12
WordpressWordpress≥ 6.6 and < 6.6.9
WordpressWordpress≥ 6.7 and < 6.7.9
WordpressWordpress≥ 6.8 and < 6.8.10
WordpressWordpress≥ 6.9 and < 6.9.9
WordpressWordpress≥ 7.0 and < 7.0.6
WordpressWordpress≥ 7.1 and < 7.1.2

All CVSS metrics

  • HIGH 8.1 v3.1 · ADP Primary
    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • HIGH 8.1 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Advisories

Technical & other

Sources: NVD · CVE.org · EPSS