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

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.

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.