Logicde

Menu

All CVE records

CVE-2026-87902 — WordPress Core Remote File Inclusion Vulnerability

CISA KEV listed Added · Remediate by

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.

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.

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

Executive AI analysis

Plain-English summary

A critical flaw in WordPress Core allows unauthenticated attackers to manipulate page-template resolution. By tricking the system into executing a local PHP file outside the intended theme directories, attackers can achieve full remote code execution.

Business impact

Successful exploitation allows unauthorized threat actors to take full control of the website, leading to data breaches, site defacement, malware hosting, and potential unauthorized lateral movement across interconnected enterprise networks.

Cloud / AWS relevance

WordPress workloads running on AWS services such as EC2, Lightsail, or ECS are vulnerable. An attacker achieving remote code execution could exploit poorly secured instance metadata (IMDSv1) to compromise cloud IAM credentials and access internal AWS resources.

Recommended action

Apply the official WordPress security update immediately in accordance with vendor guidance and CISA BOD 26-04. Deploy AWS WAF rules to block path traversal and unexpected file-inclusion attempts, and perform forensic triage on exposed instances.

Need help remediating this vulnerability?

Our team helps organizations patch, mitigate, and respond to CISA KEV advisories fast.

Talk to an engineer

Manage Cookie Preferences