CVE & CISA-KEV Catalog

CVE-2026-104995

HIGH
8.1
CVSS v3
NVD

Description

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.10%probability of exploitation in 30 days
66thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2026-87902High8.196%KEVFix
CVE-2024-5762High8.172%--
CVE-2023-49084High8.064%-Fix
CVE-2023-2249High8.861%--
CVE-2023-6989Critical9.857%-Fix
CVE-2025-68645High8.849%KEVFix

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
CVE-2026-104995 severity badge

Markdown

[![CVE-2026-104995](https://tridentstack.com/cve/badge/CVE-2026-104995.svg)](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.

Run a free CVE scan on your fleetStart freeThis CVE lookup is free and always will be.

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.