CVE-2026-87902
WordPress Core Remote File Inclusion Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2026-87902- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-98
- Updated
- 2026-11-02
EUVDEUVD-2026-84555
8.1
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.
- Record
EUVD-2026-84555- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
CISA KEV No score
WordPress Core Remote File Inclusion Vulnerability
WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local .php file outside the active theme directories, leading to remote code execution.
- Record
CVE-2026-87902- Weakness
- CWE-98
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2026-87902- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-98
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2026-87902- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-98
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2026-87902
8.1
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.
- Record
DEBIAN-CVE-2026-87902- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-87902
8.1
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.
- Record
UBUNTU-CVE-2026-87902- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-wordpress-2026-87902 No score
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.
- Record
BIT-wordpress-2026-87902- Updated
- 2026-11-06
OSVBIT-wordpress-multisite-2026-87902 No score
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.
- Record
BIT-wordpress-multisite-2026-87902- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wordpressBitnami |
before 7.1.2 | 7.1.2 |
wordpress-multisiteBitnami |
before 7.1.2 | 7.1.2 |
wordpressDebian:12 |
All versions, plus listed versions 6.1.1+dfsg1-16.1.6+dfsg1-0+deb12u16.1.9+dfsg1-0+deb12u16.2+dfsg1-16.2.1+dfsg1-1 Show 25 moreShow less6.2.2+dfsg1-16.3+dfsg1-16.3.1+dfsg1-16.3.2+dfsg1-16.4.1+dfsg1-16.4.1+dfsg1-1.16.4.2+dfsg1-16.4.3+dfsg1-16.5+dfsg1-16.5.2+dfsg1-16.5.3+dfsg1-16.5.5+dfsg1-16.6.1+dfsg1-16.7.2+dfsg1-16.7.2+dfsg1-1.16.8.1+dfsg1-16.8.3+dfsg1-16.9+dfsg1-16.9.4+dfsg1-17.0+dfsg1-17.0.2+dfsg1-17.0.3+dfsg1-17.1+dfsg1-17.1.1+dfsg1-17.1.2+dfsg1-1 |
None known |
wordpressDebian:13 |
before 6.8.10+dfsg1-0+deb13u1, plus listed versions 6.8.1+dfsg1-16.8.3+dfsg1-0+deb13u16.8.3+dfsg1-16.8.6+dfsg1-0+deb13u16.8.7+dfsg1-0+deb13u1 |
6.8.10+dfsg1-0+deb13u1 |
wordpressDebian:14 |
before 7.1.2+dfsg1-1, plus listed versions 6.8.1+dfsg1-16.8.3+dfsg1-16.9+dfsg1-16.9.4+dfsg1-17.0+dfsg1-1 Show 4 moreShow less7.0.2+dfsg1-17.0.3+dfsg1-17.1+dfsg1-17.1.1+dfsg1-1 |
7.1.2+dfsg1-1 |
wordpressUbuntu:16.04:LTS |
All versions, plus listed versions 4.3+dfsg-14.3.1+dfsg-14.4+dfsg-14.4.1+dfsg-14.4.2+dfsg-14.4.2+dfsg-1ubuntu1 |
None known |
wordpressUbuntu:18.04:LTS |
All versions, plus listed versions 4.8.2+dfsg-24.8.3+dfsg-14.9.1+dfsg-14.9.2+dfsg-14.9.4+dfsg-14.9.5+dfsg1-1 |
None known |
wordpressUbuntu:20.04:LTS |
All versions, plus listed versions 5.2.2+dfsg1-15.2.4+dfsg1-15.3.2+dfsg1-15.3.2+dfsg1-1ubuntu1 |
None known |
wordpressUbuntu:22.04:LTS |
All versions, plus listed versions 5.7.1+dfsg1-2ubuntu15.8.1+dfsg1-2ubuntu15.8.2+dfsg1-1ubuntu15.8.3+dfsg1-1ubuntu15.8.3+dfsg1-1ubuntu1.1 |
None known |
wordpressUbuntu:24.04:LTS |
All versions, plus listed versions 6.2+dfsg1-1ubuntu16.4.3+dfsg1-1ubuntu1 |
None known |
wordpressUbuntu:26.10 |
All versions, plus listed versions 6.7.2+dfsg1-1.1ubuntu2 |
None known |
wordpressUbuntu:26.04:LTS |
All versions, plus listed versions 6.7.2+dfsg1-1.1ubuntu16.7.2+dfsg1-1.1ubuntu2 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | abraxas/CVE-2026-87902 | 2026-09-22 |
| PoC in GitHub | pwnVader/CVE-2026-87902-PoC-pwnVader | 2026-09-22 |
| PoC in GitHub | ressl/cve-2026-87902-poc | 2026-09-22 |
| PoC in GitHub | vulpecuna/CVE-2026-87902 | 2026-09-22 |
| PoC in GitHub | Hassham1/CVE-2026-87902 | 2026-09-23 |
| PoC in GitHub | bhideki/CVE-2026-87902 | 2026-09-23 |
| PoC in GitHub | dinosn/cve-2026-87902-wordpress-lfi-lab | 2026-09-23 |
| PoC in GitHub | rabakuku/CVE-2026-87902-A-working-PoC-for-WordPress-s-critical-path-traversal | 2026-09-23 |
| PoC in GitHub | tc4dy/CVE-2026-87902-Toolkit | 2026-09-23 |
| PoC in GitHub | ynsmroztas/WPSniper | 2026-09-23 |
Show 16 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | zer0dayf/CVE-2026-87902 | 2026-09-23 |
| PoC in GitHub | nextco/wordpress-cve-2026-87902 | 2026-09-24 |
| PoC in GitHub | zyphorixofficialmain-lab/cve-2026-87902 | 2026-09-24 |
| PoC in GitHub | SVTagan/WP-CVE-2026-87902 | 2026-09-25 |
| PoC in GitHub | crowsec-edtech/CVE-2026-87902 | 2026-09-25 |
| PoC in GitHub | joaovicdev/EXPLOIT-CVE-2026-87902 | 2026-09-25 |
| PoC in GitHub | itskill-jp/wordpress-upgrade-check | 2026-09-26 |
| PoC in GitHub | rwxrwxs/CVE-2026-87902 | 2026-09-26 |
| PoC in GitHub | Maalfer/CVE-2026-87902-exploit | 2026-09-27 |
| PoC in GitHub | abatsakidis/wp-cve-2026-87902-checker | 2026-09-27 |
| PoC in GitHub | langz337/CVE-2026-87902 | 2026-09-27 |
| PoC in GitHub | HackfutSecRoot/CVE-2026-87902 | 2026-09-28 |
| PoC in GitHub | tonydelouvre/CVE-2026-87902 | 2026-09-29 |
| Exploit-DB | WordPress 7.0.2 - Path Travesal | 2026-10-01 |
| PoC in GitHub | xiaxiu555/cve-2026-87902 | 2026-10-07 |
| Nuclei | WordPress Core - PHP Template Path Traversal |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, references | OSV | |
| exploits | PoC in GitHub | |
| exploitation | ||
| exploits | ||
| exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, CISA KEV, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-87902 is a high vulnerability (CVSS 8.1) in Wordpress Core, published September 22, 2026. CISA lists it as known to be exploited, since September 25, 2026. EUVD reports exploitation since September 23, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 95.8%, the 99th percentile. Fixed in wordpress 7.1.2.
References
github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-after-the-patch
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
nvd.nist.gov/vuln/detail/CVE-2026-87902
github.com/CVEProject/cvelistV5/tree/main/cves/2026/87xxx/CVE-2026-87902.json
security-tracker.debian.org/tracker/CVE-2026-87902
ubuntu.com/security/CVE-2026-87902
cve.org/CVERecord?id=CVE-2026-87902
cisa.gov/known-exploited-vulnerabilities-catalog