← Back to search

CVE-2026-120518

9.1 CRITICAL

Published 2026-11-03 · Updated 2026-11-07

AI risk analysis

Summary
The BuddyPress XProfile Image Field plugin deletes arbitrary files on the server during user activation because it uses unsanitized, attacker-controlled input from signup metadata to construct a file path without validating it against a safe directory or file extension, enabling unauthenticated attackers to delete critical files like wp-config.php and achieve remote code execution.
Exploitability
Exploitation requires open registration and an image-type profile field on the signup form; no authentication is needed, and the attack is straightforward once those conditions are met.
Blast radius
Successful exploitation could lead to full server compromise via deletion of essential configuration files, potentially enabling remote code execution and complete site takeover.
Detection
Monitor WordPress debug logs and access logs for requests containing 'field_N_hidden' parameters during user registration that reference unexpected file paths (e.g., outside wp-content/uploads/profile-images), especially when followed by activation attempts or server errors indicating missing configuration files.
Prioritized remediation
Upgrade to BuddyPress XProfile Image Field version 3.1.1 or later, which addresses the vulnerability by implementing proper path validation, containment checks, and extension allow-listing.
arbitrary-file-deletionrceunauthenticatedwordpresssignup-form

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-22

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.