# CVE-2026-104995: BP Profile Search WordPress plugin local file inclusion

Source: https://junglewise.ai/threats/cve-2026-104995-the-bp-profile-search-plugin-for-wordpress-is-vulnerable-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-14. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-104995 · Severity: high · CVSS 8.1 · Published 2026-10-14

The BP Profile Search plugin for WordPress, used by many community-driven websites, allows unauthenticated attackers to include and execute arbitrary PHP files on the server through a cookie-based path traversal vulnerability. An attacker can exploit this to execute malicious code and take over the website, leading to data theft, defacement, or ransomware deployment.

Vendors: [BuddyBoss](https://junglewise.ai/threats/vendors/buddyboss).

## Quick answers

**Is CVE-2026-104995 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-104995 being exploited in the wild.

**How severe is CVE-2026-104995?** High severity, with a CVSS score of 8.1, published 14 October 2026.

**Which products and versions are affected?** BuddyBoss BP Profile Search up to and including 5.9.

**Is there a fix for CVE-2026-104995?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-104995 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-104995?** Check whether you run BuddyBoss BP Profile Search at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The bps_directory_ajax() filter fails to properly validate the 'ajax_template' value from the attacker-controlled 'bps_directory' cookie, applying only a weak referer check that is itself client-controlled. The plugin appends '.php' to the template value and passes it to bp_locate_template() without path-traversal restrictions or basename validation, enabling directory traversal attacks. An unauthenticated attacker can include arbitrary PHP files or uploaded images containing executable code, achieving remote code execution.

## Affected products

- BuddyBoss BP Profile Search up to and including 5.9

## Timeline

- 2026-10-14: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/bp-profile-search/tags/5.9/bps-directory.php](https://plugins.trac.wordpress.org/browser/bp-profile-search/tags/5.9/bps-directory.php)
- [https://plugins.trac.wordpress.org/browser/bp-profile-search/tags/5.9/bps-directory.php](https://plugins.trac.wordpress.org/browser/bp-profile-search/tags/5.9/bps-directory.php)
