Known exploited
CVE-2026-87902 on Ubuntu 24.04 LTS: affected packages and fixed versions
5 packages on Ubuntu 24.04 LTS are affected by CVE-2026-87902 (WordPress Core Remote File Inclusion Vulnerability). The vendor has not published a fix yet.
This vulnerability is known to be exploited. CISA added it to its catalog on September 25, 2026, with a remediation date of September 28, 2026 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
wordpress |
No fix published yet | High | none listed |
wordpress-l10n |
No fix published yet | High | none listed |
wordpress-theme-twentytwentyfour |
No fix published yet | High | none listed |
wordpress-theme-twentytwentythree |
No fix published yet | High | none listed |
wordpress-theme-twentytwentytwo |
No fix published yet | High | none listed |
Check a host
Show the installed versions and compare with the table above:
dpkg-query -W -f='${Package} ${Version}\n' wordpress wordpress-l10n wordpress-theme-twentytwentyfour wordpress-theme-twentytwentythree
Update to the fixed build:
sudo apt-get update && sudo apt-get install --only-upgrade wordpress wordpress-l10n wordpress-theme-twentytwentyfour wordpress-theme-twentytwentythree
The fixed version may look older than the upstream release that fixed the bug. Ubuntu 24.04 LTS carries the fix in the version it already ships.
What it is
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.
CVE-2026-87902 on other releases
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.