问题所在
未经身份验证的攻击者可以导致 `get_page_template()` 解析包含活动主题目录之外的可读本地 `.php` 文件。如果同时满足服务器和活动主题的特定前提条件,此漏洞可能会导致远程代码执行。
影响范围
此漏洞影响早于 7.1.2 的 WordPress 版本。
应对措施
将 WordPress 升级至版本 7.1.2。
原始描述
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.
已知被利用(CISA KEV)
- 加入 KEV 日期
- 2026-09-25
- 修复期限(美国联邦机构)
- 2026-09-28
- 用于勒索软件
- Unknown
- 要求采取的措施
- 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.
受影响的软件
- WordPress ≥ 6.0 < 6.0.16≥ 6.1 < 6.1.14≥ 5.3 < 5.3.25≥ 7.0 < 7.0.6≥ 5.6 < 5.6.21< 7.1.2 修复版本: 6.0.16, 6.1.14, 5.3.25, 7.0.6 精确匹配
详情
- 发布日期
- 2026-09-22
- 最后修改
- 2026-09-28
- CVSS 向量
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-98
- EPSS(30 天内被利用概率)
- 95.77% (百分位 100)
参考资料
- cve.org/CVE-2026-87902
- nvd.nist.gov/vuln/detail/CVE-2026-87902
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
- patchstack.com/articles/cve-2026-87902-attackers-started-probing-wordpress-sites-hours-aft...
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-87902
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。