BP Profile Search <= 5.9 - Unauthenticated Local File Inclusion to Remote Code Execution via 'bps_directory' Cookie…
No fixed version listed yet.Check the vendor advisory. References ↓
dontdream · BP Profile Search
The BP Profile Search plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 5.9 via the 'ajax_template' value parsed from the client-controlled 'bps_directory' cookie during BuddyPress AJAX directory requests. The bps_directory_ajax() filter (hooked onto bp_legacy_object_template_path and bp_nouveau_object_template_path) reads the cookie, applies only a referer-derived 'page' comparison in bps_get_directory_data() (where bps_current_page() uses HTTP_REFERER during AJAX and is therefore also attacker-controlled), and then suffixes the attacker-controlled template value with '.php' and passes it to bp_locate_template() with no basename restriction, no whitelist, and no path-traversal check. This makes it possible for unauthenticated attackers to include arbitrary PHP files on the server, which can lead to remote code execution when PHP files can be uploaded or when images such as the default wordpress:php8.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 15 days after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+15 days
Affected versions and fixes
as published in the CVE recorddontdream BP Profile Search
Affected: <= 5.9
What security researchers reported
Not named in any threat report yetAlso mentioned in 8 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Oct 22, 2026 | Part 2/421 Oct 2026
- Known_Cve | Oct 21, 2026 | Part 3/420 Oct 2026
- Known_Cve | Oct 20, 2026 | Part 3/419 Oct 2026
- Known_Cve | Oct 19, 2026 | Part 3/418 Oct 2026
- Known_Cve | Oct 18, 2026 | Part 3/417 Oct 2026
- Known_Cve | Oct 17, 2026 | Part 3/416 Oct 2026
- 2 more on OTX