Arbitrary File Deletion in Link Library Plugin for WordPress
An unauthenticated arbitrary file deletion vulnerability in the Link Library WordPress plugin (CVE-2026-18855) allows attackers to trigger server-side file removal via manipulated input during standard administrative moderation.
CVE search metadata
CVE search record: CVE-2026-18855. Severity: critical. CVSS: 9.1. KEV: no. Product: Link Library. Brief: Arbitrary File Deletion in Link Library Plugin for WordPress. Brief link: https://feed.craftedsignal.io/briefs/2026-08-link-library-arbitrary-file-deletion/
The Link Library plugin for WordPress (versions 7.9.4 and earlier) contains a critical security flaw in the ll_delete_link_fields function. The vulnerability stems from insufficient file path validation, allowing an unauthenticated attacker to supply a crafted path that the application will treat as a target for deletion.
For the attack to succeed, the administrator must have enabled the 'Delete local file on link deletion' feature, which is disabled by default. Once enabled, an attacker submits a malicious link to the application. When a site administrator performs the routine moderation task of permanently deleting that link, the application executes a deletion command against the attacker-supplied file path rather than the legitimate link file. Successful exploitation leads to the loss of critical system files, such as wp-config.php, which can subsequently be leveraged to achieve remote code execution (RCE) by forcing a reinstallation of the WordPress environment.
Attack Chain
- Attacker discovers a WordPress site using the Link Library plugin.
- Attacker verifies the 'Delete local file on link deletion' option is active by submitting a link or observing site behavior.
- Attacker submits a new link containing a path traversal payload or a path to a critical system file (e.g., wp-config.php) in the link's metadata/fields.
- The site administrator logs into the WordPress dashboard.
- The administrator views the list of pending or submitted links.
- The administrator selects the malicious link and triggers a permanent delete operation.
- The ll_delete_link_fields function executes the deletion using the attacker-controlled path.
- Critical files are removed, destabilizing the application and potentially facilitating RCE.
Impact
Successful exploitation results in the permanent deletion of arbitrary files on the hosting server. If key files such as wp-config.php are deleted, the integrity of the WordPress installation is compromised, often resulting in complete service downtime or an opportunity for the attacker to reconfigure the database credentials to gain full administrative access.
Recommendation
Prioritized, concrete actions for detection engineering teams:
- Update the Link Library plugin to the latest version immediately to resolve CVE-2026-18855.
- Disable the 'Delete local file on link deletion' setting in the Link Library configuration if it is not strictly required for business operations.
- Audit administrative moderation logs to identify abnormal link deletion patterns.
- Implement File Integrity Monitoring (FIM) on the web root to detect unexpected deletion events targeting wp-config.php or other sensitive system files.
- Monitor web server error logs for recurrent file access failures following link deletion tasks.
Immediate actions
Patch Link Library plugin for all WordPress sites.
Mitigations
Disable 'Delete local file on link deletion' setting.
CVE-2026-18855