{"id":"CVE-2026-87902","revision":"0fa3b2b893fe4f1c904844ff0d69f5bb","records":[{"revision":"0fa3b2b893fe4f1c904844ff0d69f5bb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-87902","aliases":[],"title":"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 me…","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.","state":0,"publishedAt":"2026-09-22T16:44:15.048+00:00","modifiedAt":"2026-09-26T03:55:51.56+00:00","affected":[{"ecosystem":"Vendor product","name":"WordPress","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"vendor\": \"WordPress\",\n                    \"product\": \"WordPress\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"7.1.2\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-87902","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-87902","identifiers":["CVE-2026-87902"]},"retained":false,"historicalAffected":[]}],"coverage":[]}