CVE-2026-120518
9.1, criticalKalengi BuddyPress XProfile Custom Image Field Path Traversal Vulnerability
- CVSS
- 9.1, critical critical CVSS v3.1
- EPSS, next 30 days
- 0.8% higher than 55.9% of scored CVEs
- Exploitation
- No public evidence
- Published
- 3 Nov 2026yesterday
Description
The BuddyPress XProfile Image Field plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 3.1.0. This is due to bpxp_image_field_update_on_user_activation() calling unlink() on a path built from visitor-supplied signup metadata with no realpath() resolution, no containment check against the profile-image directory and no extension allow-list. Submitting a zero-byte file with the 'field_N_hidden' parameter during registration makes the plugin store the raw value, which is then resolved against the document root when the pending signup is activated. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file (such as wp-config.php) is deleted. Requires open registration and an image-type profile field on the signup form.
Details
- Vendor
- Kalengi
- Product
- BuddyPress XProfile Custom Image Field
- Weakness
- CWE-22 (opens in a new tab)
- Status
- Deferred
- Updated
- 3 Nov 2026
- Assigner
- security@wordfence.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
References 7
Other references 7
- nvd.nist.gov /vuln/detail/CVE-2025-48158 (opens in a new tab)
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L488 (opens in a new tab)
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L494 (opens in a new tab)
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L507 (opens in a new tab)
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L526 (opens in a new tab)
- plugins.trac.wordpress.org /browser/buddypress-xprofile-image-field/tags/3.1.0/bp-xprofile-image-field.php#L587 (opens in a new tab)
- wordfence.com /threat-intel/vulnerabilities/id/1a53bcf5-61ed-427c-9efd-29c9309d2426?source=cve (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Beyond this page
Is CVE-2026-120518 in your network?
This page tells you how dangerous CVE-2026-120518 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-120518 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 4 Nov 2026, not the live upstream state.