Skip to main content

CVE-2026-104995: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in dontdream BP Profile Search

0
High
VulnerabilityCVE-2026-104995cvecve-2026-104995cwe-98
Published: 10/14/2026 (10/14/2026, 01:27:15 UTC)
Source: CVE Database V5
Vendor/Project: dontdream
Product: BP Profile Search

Description

The BP Profile Search plugin for WordPress versions up to and including 5.9 contains a Local File Inclusion (LFI) vulnerability via the 'ajax_template' parameter derived from a client-controlled cookie. This flaw allows unauthenticated attackers to include arbitrary PHP files on the server without proper path or filename validation, potentially leading to remote code execution if malicious PHP files are present on the server.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

dontdream

BP Profile Search

Affected versions
>=0 <=5.9

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/14/2026, 02:03:26 UTC

Technical Analysis

CVE-2026-104995 describes a Local File Inclusion vulnerability in the BP Profile Search WordPress plugin (versions <=5.9). The vulnerability arises because the 'ajax_template' value is parsed from the 'bps_directory' cookie, which is attacker-controlled. The plugin uses this value to locate templates without enforcing basename restrictions, whitelisting, or path traversal checks. The attacker can manipulate the HTTP_REFERER header to bypass the limited referer-based validation. This allows inclusion of arbitrary PHP files on the server, which can lead to remote code execution if an attacker can upload PHP files or exploit existing PHP files such as those embedded in images.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to include arbitrary PHP files on the server, leading to potential remote code execution. This compromises confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score is 8.1 (High), reflecting the network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict access to the plugin and disable or remove it if possible. Avoid uploading PHP files or other executable content to the server. Monitor for suspicious activity related to BuddyPress AJAX directory requests. Follow vendor updates closely for an official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-10-02T19:57:22.762Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acedf962cdf04f656278ff7

Added to database: 10/14/2026, 01:49:10 UTC

Last enriched: 10/14/2026, 02:03:26 UTC

Last updated: 10/14/2026, 02:08:20 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses