CVE-2026-120518
Last modified
CVE-2026-120518 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-120518?
How severe is CVE-2026-120518?
How do I fix CVE-2026-120518?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120497Stored cross-site scripting (XSS) in the HTML report generat…5
- CVE-2026-12050SQL injection in pgAdmin 4's named restore point endpoint (P…8.8
- CVE-2026-120500An Otter Wiki before 2.26.2 contains a stored cross-site scr…6.1
- CVE-2026-120501An Otter Wiki 2.20.1 before 2.26.2 contains a file disclosur…5.3
- CVE-2026-120503A vulnerability was detected in EchoHS GeekezBrowser up to 1…3.3
- CVE-2026-12051The USB DFU class implementation in Zephyr's new (experiment…4.6
- CVE-2026-12052The USB device-side CDC NCM class control-to-host handler us…5.2
- CVE-2026-120524The News Kit Addons For Elementor plugin for WordPress is vu…6.4
- CVE-2026-12053GitLab has remediated an issue in GitLab EE affecting all ve…7.5
- CVE-2026-120533The Redux Framework plugin for WordPress is vulnerable to St…6.4
- CVE-2026-120534The Advanced Custom Fields: Extended PRO plugin for WordPres…9.8
- CVE-2026-120538The Easy Digital Downloads plugin for WordPress is vulnerabl…8.1
Are you affected by CVE-2026-120518?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
