CVE-2026-87902
validatedZero produced an exploit or a check.GHSA-7hp8-65ch-5whp ↗EUVD-2026-84555 ↗
description
Affected WordPress versions can be induced to load a readable local PHP file outside the active theme during page-template selection. An unauthenticated attacker may obtain code execution when the active theme has a top-level directory beginning with "page-" and a suitable readable PHP file is present on the server.
mitigation
Upgrade WordPress to 7.1.2, or update the installed branch to its corresponding fixed release, down to 4.7.37. Until upgraded, remove or rename unnecessary top-level theme directories beginning with "page-" and limit web-server access to local PHP files.
fixed in 7.1.2, 7.0.6, 6.9.9, 6.8.10, 6.7.9, 6.6.9, 6.5.12, 6.4.12, 6.3.12, 6.2.13, 6.1.14, 6.0.16, 5.9.18, 5.8.17, 5.7.19, 5.6.21, 5.5.22, 5.4.23, 5.3.25, 5.2.28, 5.1.26, 5.0.29, 4.9.33, 4.8.32, 4.7.37
outcome
Upstream: a detection for this already ships elsewhere, so we didn't generate a new one. The credit goes to whoever did.
source signals
Public signals that triggered or updated the pipeline. These are inputs for the deltas above.
- 2026-09-22 00:00Z
- 2026-09-22 16:44Zcve.org record for CVE-2026-87902
- 2026-09-23euvd: trigger signal, started the run
- 2026-09-23 00:00ZEUVD known exploited (ENISA)
- 2026-09-25 00:00ZCISA Known Exploited Vulnerabilities catalog
- 2026-09-30 00:49Znuclei-templates ships a detection
- 2026-09-30 01:19Zabraxas/CVE-2026-87902
this entry in the feed
GET /api/v1/feed/CVE-2026-87902
{ "etk_id": "ETK-2026-54", "cve_id": "CVE-2026-87902", "display_id": "CVE-2026-87902", "ghsa_id": "GHSA-7hp8-65ch-5whp", "euvd_id": "EUVD-2026-84555", "status": "published", "anchor_state": "anchored", "title": "Unauthenticated local file inclusion in WordPress page templates", "summary": "Affected WordPress versions can be induced to load a readable local PHP file outside the active theme during page-template selection. An unauthenticated attacker may obtain code execution when the active theme has a top-level directory beginning with \"page-\" and a suitable readable PHP file is present on the server.", "mitigation": "Upgrade WordPress to 7.1.2, or update the installed branch to its corresponding fixed release, down to 4.7.37. Until upgraded, remove or rename unnecessary top-level theme directories beginning with \"page-\" and limit web-server access to local PHP files.", "vendor": "WordPress", "product": "WordPress", "affected": [ { "affected_notes": [ "7.1.0 - 7.1.1" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "7.1.2" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "7.0.0 - 7.0.5" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "7.0.6" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.9.0 - 6.9.8" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.9.9" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.8.0 - 6.8.9" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.8.10" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.7.0 - 6.7.8" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.7.9" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.6.0 - 6.6.8" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.6.9" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.5.0 - 6.5.11" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.5.12" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.4.0 - 6.4.11" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.4.12" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.3.0 - 6.3.11" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.3.12" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.2.0 - 6.2.12" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.2.13" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.1.0 - 6.1.13" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.1.14" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "6.0.0 - 6.0.15" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "6.0.16" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.9.0 - 5.9.17" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.9.18" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.8.0 - 5.8.16" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.8.17" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.7.0 - 5.7.18" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.7.19" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.6.0 - 5.6.20" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.6.21" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.5.0 - 5.5.21" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.5.22" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.4.0 - 5.4.22" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.4.23" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.3.0 - 5.3.24" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.3.25" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.2.0 - 5.2.27" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.2.28" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.1.0 - 5.1.25" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.1.26" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "5.0.0 - 5.0.28" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "5.0.29" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "4.9.0 - 4.9.32" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "4.9.33" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "4.8.0 - 4.8.31" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "4.8.32" ], "package_name": "WordPress", "purl": null }, { "affected_notes": [ "4.7.0 - 4.7.36" ], "affected_ranges": [], "ecosystem": "other", "fixed_versions": [ "4.7.37" ], "package_name": "WordPress", "purl": null } ], "cwes": [ 98 ], "cvss_score": 8.1, "cvss_src": "nvd", "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "epss_score": 0.3998, "epss_percentile": 0.9862, "epss_asof": "2026-10-20", "automation": "deterministic", "check": true, "check_confidence_basis": "upstream", "exploit": false, "pipeline_minutes": 0.010526116666666667, "t0_at": "2026-09-22T16:44:15.048000+00:00", "signals": { "check": { "at": "2026-09-30T00:49:38.473587+00:00", "days": 7.337076685034722, "is_lower_bound": false, "measured_at": "2026-09-22T16:44:15.048000+00:00", "url": null }, "kev": { "at": "2026-09-22T00:00:00+00:00", "days": 0, "is_lower_bound": false, "measured_at": "2026-09-22T16:44:15.048000+00:00", "precision": "day", "url": "https://vulncheck.com/cve/CVE-2026-87902" }, "public_poc": { "at": "2026-09-22T18:13:48+00:00", "days": 0.06218694444444445, "is_lower_bound": false, "measured_at": "2026-09-22T16:44:15.048000+00:00", "url": "https://github.com/abraxas/CVE-2026-87902" }, "trigger_signal": { "at": "2026-09-23T00:00:00+00:00", "days": 0.3026036111111111, "is_lower_bound": false, "measured_at": "2026-09-22T16:44:15.048000+00:00", "url": "https://euvd.enisa.europa.eu/enisa/EUVD-2026-84555" } } }
published 2026-09-30 00:49Z
last change 2026-10-21 06:02Z
Need the technical details behind an entry?
Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.