# 🐛 Including PHP files in WordPress

**URL:** <https://community.ovhcloud.com/t/inclusion-de-archivos-php-en-wordpress/53982>\
**Category:** Domaines et Hébergements\
**Tags:** wordpress, hébergement-web, security\
**Created:** [September 24, 2026, 7:06am UTC](https://community.ovhcloud.com/t/inclusion-de-archivos-php-en-wordpress/53982 "2026-09-24T07:06:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sturpin](https://community.ovhcloud.com/user_avatar/community.ovhcloud.com/sturpin/32/30025_2.png) [@sturpin](https://community.ovhcloud.com/u/sturpin)\
**Post date:** [September 24, 2026, 7:06am UTC](https://community.ovhcloud.com/t/inclusion-de-archivos-php-en-wordpress/53982/1 "2026-09-24T07:06:43Z")

</div>

Hello community!

I'm sharing an important security alert for those using WordPress on their hosting.

A notice has been published about a **critical** severity vulnerability (CVE-2026-87902) affecting WordPress. This flaw could allow an unauthenticated remote attacker to include a local PHP file located outside the active theme directories and, under certain conditions, execute code remotely on your site.

The list of affected versions is very broad, essentially all branches from 4.7 through 7.1. The fix is to upgrade to the patched version that corresponds to your branch. For example, if you use 7.1, you should upgrade to **7.1.2** ; if you use 7.0, to **7.0.6** ; and so on.

Check your sites' WordPress version right now and, if it’s affected, update as soon as possible 😉

References to solutions, tools, and information 👇

[https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp](https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp)

Don’t put it off until tomorrow, this is one of those that won’t forgive you 😏

Regards, fellow developers 👋  
Sergio Turpín

---

<div class="post-metadata">

**Author:** ![Asterix](https://community.ovhcloud.com/user_avatar/community.ovhcloud.com/asterix/32/29931_2.png) [@Asterix](https://community.ovhcloud.com/u/Asterix)\
**Post date:** [September 24, 2026, 7:14am UTC](https://community.ovhcloud.com/t/inclusion-de-archivos-php-en-wordpress/53982/2 "2026-09-24T07:14:59Z")

</div>

Thank you very much for sharing! 🙂

---

<div class="post-metadata">

**Author:** ![Gaston](https://community.ovhcloud.com/user_avatar/community.ovhcloud.com/gaston/32/33_2.png) [@Gaston](https://community.ovhcloud.com/u/Gaston)\
**Post date:** [September 24, 2026, 7:20am UTC](https://community.ovhcloud.com/t/inclusion-de-archivos-php-en-wordpress/53982/3 "2026-09-24T07:20:58Z")

</div>

Thanks @sturpin
