CVE-2026-87902 is a remote file inclusion vulnerability in WordPress Core. CISA added it to the Known Exploited Vulnerabilities catalogue on 25 September 2026, which means attackers have used it in real attacks. Organisations running the affected product should apply the vendor fix or mitigation as a priority.
What a remote file inclusion vulnerability means in WordPress Core
remote file inclusion, or RFI, is a vulnerability class where an application can be induced to load code or content from an attacker-controlled location. In a platform as widely deployed as WordPress Core, that can turn a single request into server-side code execution, data exposure, or full site compromise.
What makes RFI dangerous is not only the initial flaw, but the trust boundary it breaks. If the application treats external input as a file path or executable resource, an attacker can redirect execution flow away from trusted code and into malicious content.
Why this vulnerability class is dangerous in a core web platform
Core platform vulnerabilities matter because they can affect many sites at once and often sit on a highly trusted execution path. WordPress is also a frequent target for web exploitation, so a flaw in the core runtime deserves immediate attention even before exploit details are fully understood.
For broader context on file inclusion and related web attack patterns, see Web Application Attacks Guide. It places remote file inclusion alongside local file inclusion, path traversal, server-side template injection and other input-driven execution failures.
When a vulnerability is already in CISA’s KEV catalogue, organisations should treat it as actively exploited and prioritise it above routine backlog work. The authoritative record should be checked in the NIST National Vulnerability Database and the official CVE Program entry for the canonical identifier and reference metadata.
How organisations check exposure and confirm impact
Exposure review starts with a current asset inventory, then narrows to systems that actually run the affected product. From there, teams check whether WordPress is internet-facing, whether the vulnerable component is reachable from unauthenticated requests, and whether vendor advisories describe any special deployment conditions or mitigations.
The most useful first questions are practical: which sites run WordPress Core, which are externally reachable, and which security controls sit in front of them. That includes web application firewalls, reverse proxies, patch management tooling and any change windows that could delay remediation.
The vulnerability management process benefits from a KEV-first lens, which is why NHIMG’s Vulnerability Management Guide is useful here. It ties asset scope, scanning, prioritisation and verification together so teams can move from awareness to remediation without losing track of verification.
Remediation, compensating controls and compromise review
The primary remediation path is to apply the vendor fix or mitigation as soon as operationally possible. If patching is delayed, temporary compensating controls should reduce exposure by restricting public access, tightening filtering at the edge, and disabling any reachable functionality that is not required for business use.
Because this is an exploited vulnerability, remediation should be paired with compromise review rather than treated as a patch-only event. Teams should look for unexpected files, suspicious outbound requests, webshell-style artefacts, unusual process execution and any modification to application code, templates or configuration.
Where compromise is confirmed or strongly suspected, rebuild the site from a trusted source rather than relying only on in-place cleanup. Also review adjacent systems for reused credentials, injected content and other follow-on trust failures that can persist after the original flaw is closed.
Identity and access consequences after exploitation
RFI exploitation often changes the identity picture because attackers may gain access to administrative sessions, application secrets or other credentials stored on the host. If the vulnerable site was compromised, rotate any secrets that could have been exposed, including admin credentials, API tokens, database passwords and deployment keys.
That review should include the application itself, any connected plugins or integrations, and any automation that can publish content or administer the site. If an attacker could have executed code, assume they may have harvested material that extends beyond the original WordPress instance.
NHIMG’s The State of NHI & AI Agent Breach Report 2026 is relevant because it shows how real-world compromises often pivot from exploitation into credential theft, lateral movement and broader identity abuse.
Risk and Threat Considerations
A KEV-listed remote file inclusion issue is dangerous because it can give an attacker a direct path from a web request to server-side execution. On a popular content platform, that creates a fast route to defacement, payload staging, credential theft and persistence.
Failure mechanism: The application accepts attacker-influenced input in a way that causes it to include or execute a remote resource, bypassing the normal trust boundary around local code.
Impact: An attacker can run arbitrary content in the application context, steal secrets, alter site behaviour, and use the compromised server as a pivot point for further intrusion.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST CSF 2.0, NIST SP 800-53 Rev 5, CIS Controls v8 and OWASP ASVS set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | GV.RM-01 — Risk Management Strategy | An exploited CVE requires prioritised risk treatment and remediation decisions. |
| Recommendation — Prioritise KEV-listed vulnerabilities for fast remediation based on business risk. | ||
| NIST SP 800-53 Rev 5 | SI-2 — Flaw Remediation | This CVE is a software flaw that must be corrected through patching and mitigation. |
| RA-5 — Vulnerability Monitoring and Scanning | Exposure assessment depends on identifying affected assets and validating reachability. | |
| Recommendation — Patch or mitigate the vulnerable WordPress component as soon as operationally feasible. Continuously inventory and scan WordPress assets to confirm exposure and remediation status. | ||
| CIS Controls v8 | CIS-7 — Continuous Vulnerability Management | KEV-listed exploitation calls for rapid identification, prioritisation and remediation. |
| Recommendation — Use continuous vulnerability management to track, prioritise and verify exploit-exposed WordPress systems. | ||
| OWASP ASVS | V15 — Secure Coding and Architecture | Remote file inclusion reflects an input-to-execution design failure in web applications. |
| Recommendation — Review input handling and include-path logic to prevent remote file inclusion. | ||
Practitioner Guidance
Why practitioners should care: For an exploited WordPress Core flaw, the goal is not only patch deployment but proof that the site remained trustworthy before and after remediation. Treat the issue as a high-priority exposure requiring inventory, containment, verification and post-patch review.
Practitioner takeaway: If you can’t patch immediately, reduce reachability first, then verify whether the site has already been altered or used to expose secrets.
Related resources from NHI Mgmt Group
- CVE-2025-68645 (Synacor Zimbra Collaboration Suite (ZCS) PHP Remote File Inclusion)
- CVE-2020-25213 (WordPress File Manager Plugin Remote Code Execution)
- How should security teams respond when a WordPress Core vulnerability chain enables unauthenticated remote code execution?
- How should healthcare teams remediate an application that allows unauthenticated file upload and local file inclusion to chain into remote code execution?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org