CVE-2026-104995
HIGHDescription
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.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 66% of all known CVEs.
References
Related Vulnerabilities
Other CWE-98 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2026-87902 | High | 8.1 | 96% | KEV | Fix |
| CVE-2024-5762 | High | 8.1 | 72% | - | - |
| CVE-2023-49084 | High | 8.0 | 64% | - | Fix |
| CVE-2023-2249 | High | 8.8 | 61% | - | - |
| CVE-2023-6989 | Critical | 9.8 | 57% | - | Fix |
| CVE-2025-68645 | High | 8.8 | 49% | KEV | Fix |
Common questions
How do I fix CVE-2026-104995?
No published fix for CVE-2026-104995 has been found yet. Check the linked vendor advisories for guidance as it becomes available.
Is CVE-2026-104995 being actively exploited?
Not that we know of. CVE-2026-104995 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.1% is the estimated probability that it will be exploited in the next 30 days. That is higher than 66% of all scored CVEs.
How severe is CVE-2026-104995?
CVE-2026-104995 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
Embed a live status badge for CVE-2026-104995
Markdown
[](https://tridentstack.com/cve/CVE-2026-104995)HTML
<a href="https://tridentstack.com/cve/CVE-2026-104995"><img src="https://tridentstack.com/cve/badge/CVE-2026-104995.svg" alt="CVE-2026-104995"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-14.