# Wordpress Alert: Page-template local file inclusion (CVE-2026-87902)

An affected version and the advisory's theme and server preconditions allow an unexpected local PHP file to be included. Under those conditions, unauthenticated code execution may follow.

2026-07-29
::
Switchboard Tech Services


![Wordpress Alert: Page-template local file inclusion (CVE-2026-87902)](https://switchboardtechservices.com/static/images/defaults/guides.webp)

## What it looks like

An affected version and the advisory's theme and server preconditions allow an unexpected local PHP file to be included.

## Why it matters

Under those conditions, unauthenticated code execution may follow.

## What to check

Check the September 2026 release and update the affected core branch.

## Documentation

This is a documented WordPress core vulnerability. The linked release gives the affected versions and fixes. See [WordPress 7.1.2 security release](https://wordpress.org/news/2026/09/wordpress-7-1-2-release/).

- Categories:
  [WordPress](https://switchboardtechservices.com/guides/categories/wordpress/)
- Tags:
  [#WordPress Security](https://switchboardtechservices.com/guides/tags/wordpress-security/), [#Core Security](https://switchboardtechservices.com/guides/tags/core-security/), [#Security Advisories](https://switchboardtechservices.com/guides/tags/security-advisories/)

[Guides RSS](https://switchboardtechservices.com/feeds/guides.xml "Subscribe using an RSS reader")

---

Canonical URL: https://switchboardtechservices.com/guides/wordpress-alert-page-template-local-file-inclusion/

Language: en-us

Content type: guide

Author: Switchboard Tech Services

Published: 2026-07-29T09:04:32+00:00

Description: A WordPress security alert about page-template local file inclusion (cve-2026-87902): signs, impact, and what to check.
