{"cve":{"cve_id":"CVE-2026-87902","is_kev":true,"kev_date_added":"2026-09-25","kev_vendor_project":"WordPress","kev_product":"Core","kev_vulnerability_name":"WordPress Core Remote File Inclusion Vulnerability","kev_short_description":"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.","kev_required_action":"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.","kev_due_date":"2026-09-28","kev_known_ransomware":false,"kev_notes":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp ; ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-87902","kev_cwes":["CWE-98"],"epss_score":0.39979,"epss_percentile":0.98613,"epss_as_of":"2026-10-15","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.","published_at":"2026-09-22T16:44:15.048000Z","last_modified_at":"2026-09-28T12:20:54.040000Z","cvss_v3_score":8.1,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-98"],"nvd_references":["https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp"],"vuln_status":"Analyzed","trending_score":null,"is_trending":false,"has_trended":true,"trended_number_one":false,"trending_peak_score":0.6216456666933731,"trending_peak_rank":2,"started_trending_at":"2026-09-26T11:40:24.240280Z","trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-09-22T18:33:11.658483Z","updated_at":"2026-10-09T15:40:58.696530Z"},"effective_severity":"HIGH","badges":["kev","exploit","news"],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"H","value_label":"High"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"wordpress","vendor_name":"WordPress","product_slug":"wordpress","product_name":"WordPress","version_start":"0","version_start_inclusive":true,"version_end":"7.1.2","version_end_inclusive":false,"cpe23_uri":"cve5:wordpress:wordpress:0:7.1.2"},{"vendor_slug":"wordpress","vendor_name":"WordPress","product_slug":"wordpress","product_name":"WordPress","version_start":null,"version_start_inclusive":null,"version_end":"4.7.37","version_end_inclusive":false,"cpe23_uri":"cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*"}],"exploit_refs":[{"source":"exploit-db","kind":"exploit-db","url":"https://www.exploit-db.com/exploits/52690","title":"WordPress 7.0.2 - Path Travesal","author":"Robert Ressl","disclosed_at":"2026-10-01"},{"source":"nuclei","kind":"nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-87902.yaml","title":"WordPress Core - PHP Template Path Traversal","author":"Hadrian,FLX","disclosed_at":null}],"news":[{"id":2077,"source":"The Hacker News","url":"https://thehackernews.com/2026/09/attackers-exploit-wordpress-cve-2026.html","title":"Attackers Exploit WordPress CVE-2026-87902 Within Hours of Disclosure","summary":"Threat actors have begun to actively exploit a critical security flaw in WordPress within hours of public disclosure.\n\nThe vulnerability in question is CVE-2026-87902 (CVSS score: 9.2), which could allow an unauthenticated attacker to obtain remote code execution (RCE).\n\n\"An unauthenticated attacker can make get_page_template() page-template resolution include a chosen readable local .php file","thumbnail_url":"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizoRcyQE1N3fGUKa2FY_q_T7EG_CyjTpMGGk1oFUF-XpBZa0zCA6V2yEuv3_Z1OrEjMmhbHdaVmo6NMrwb98U9VFGXDpRcItboVuZH7qc9QgPd5ZLDudfJPWoaSDbtkoXJeLTZw-6JDbq5F6YEp4AkeoJd10Nb_H9tuU0fYdgqkLrP6BTpAPOYwO6WdmkN/s1600/wordpress-exploits.jpg","author":"info@thehackernews.com (The Hacker News)","published_at":"2026-09-24T05:36:18Z","fetched_at":"2026-09-24T08:46:12.054360Z","trending_score":0.000016741659875480075,"cve_ids":["CVE-2026-87902"]},{"id":2066,"source":"BleepingComputer","url":"https://www.bleepingcomputer.com/news/security/hackers-start-exploiting-critical-wordpress-flaw-for-code-execution/","title":"Hackers start exploiting critical WordPress flaw for code execution","summary":"Threat actors have moved from probing WordPress sites vulnerable to CVE-2026-87902 to exploiting the flaw to write files to disk that execute shell commands when accessed. [...]","thumbnail_url":null,"author":"Bill Toulas","published_at":"2026-09-23T18:31:22Z","fetched_at":"2026-09-23T19:16:11.833519Z","trending_score":0.000015454641203202704,"cve_ids":["CVE-2026-87902"]}],"references":[{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp","source_type":"VENDOR_ADVISORY","tags":["advisory"]}],"timeline":[{"type":"published","at":"2026-09-22T16:44:15.048000Z","label":"CVE published","source":null},{"type":"first_article","at":"2026-09-23T18:31:22Z","label":"First news coverage","source":"BleepingComputer"},{"type":"poc_available","at":"2026-09-24T00:32:11.660553Z","label":"Public PoC available","source":"nuclei"},{"type":"cisa_reported","at":"2026-09-25T00:00:00Z","label":"Added to CISA KEV catalog","source":"kev"},{"type":"started_trending","at":"2026-09-26T11:40:24.240280Z","label":"Started trending","source":null},{"type":"exploit_known","at":"2026-10-01T00:00:00Z","label":"Public exploit available","source":"exploit-db"}]}