Bug 2539339

Summary: CVE-2026-87902 wordpress: WordPress: Remote code execution via page template resolution vulnerability [fedora-all]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: wordpressAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: fedora, kevin
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["278c5725-fc00-4d6c-a70b-f45781164e17"]}
Fixed In Version: wordpress-7.1.2-1.fc45 wordpress-6.9.9-1.fc44 wordpress-6.9.9-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-03 00:21:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2538305    

Description Vladimir Vasilev 2026-09-23 11:11:33 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-09-23 13:19:14 UTC
FEDORA-2026-5c9d8e41a9 (wordpress-6.9.9-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5c9d8e41a9

Comment 2 Fedora Update System 2026-09-23 13:19:21 UTC
FEDORA-2026-7f9c69a63c (wordpress-6.9.9-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7f9c69a63c

Comment 3 Fedora Update System 2026-09-23 13:19:30 UTC
FEDORA-2026-c7024b3255 (wordpress-7.1.2-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c7024b3255

Comment 4 Fedora Update System 2026-09-24 01:34:11 UTC
FEDORA-2026-c7024b3255 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c7024b3255`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c7024b3255

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-24 01:55:07 UTC
FEDORA-2026-7f9c69a63c has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7f9c69a63c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7f9c69a63c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-24 02:21:09 UTC
FEDORA-2026-5c9d8e41a9 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5c9d8e41a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5c9d8e41a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-03 00:21:08 UTC
FEDORA-2026-c7024b3255 (wordpress-7.1.2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-10-03 01:10:23 UTC
FEDORA-2026-7f9c69a63c (wordpress-6.9.9-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-03 01:34:12 UTC
FEDORA-2026-5c9d8e41a9 (wordpress-6.9.9-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.