CVE-2026-87902: Vulnerability in WordPress
Actively exploited. 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.
Exploited in the wild, CWE-98
- Exploitation
- Confirmed 25 Sept 2026
- Severity
- 8.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 28 Sept 2026
Details
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-98
- Published
- 22 Sept 2026
- Last change
- 28 Sept 2026
Affected products
Affected versions and the first fixed release
- WordPress Before 4.7.37; From 4.8 before 4.8.32; From 4.9 before 4.9.33; From 5.0 before 5.0.29; From 5.1 before 5.1.26; From 5.2 before 5.2.28. Fixed in 4.7.37, 4.8.32, 4.9.33, 5.0.29, 5.1.26, 5.2.28
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Related
- WordPress vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only