Description
The Demi – One Click Demo Import, WP Backup & Site Migration plugin for WordPress is vulnerable to Arbitrary Directory Deletion in all versions up to, and including, 0.0.7. The vulnerability exists because the plugin stores its HMAC signing key and per-step restore token as dotfiles inside a publicly accessible subdirectory of the WordPress uploads folder — without any `.htaccess` or index file protection — and the `demi_restore_step` AJAX handler, registered for unauthenticated callers, explicitly accepts possession of the on-disk signing key as a standalone alternative to WordPress capability and nonce checks; an unauthenticated attacker who retrieves the exposed key can forge a valid signed state envelope to invoke `CleanDir::execute()` with a caller-supplied absolute path that is subject to no allow-list or path-canonicalization check. This makes it possible for unauthenticated attackers to recursively delete arbitrary directories on the server.
Published: 2026-07-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Demi – One Click Demo Import, WP Backup & Site Migration plugin contains a flaw that allows an unauthenticated attacker to delete arbitrary directories on the server. The issue arises because the plugin stores signing keys and restore tokens as dotfiles in a publicly accessible subdirectory of WordPress’s uploads folder and exposes a demi_restore_step AJAX handler that accepts a forged signed request without checking WordPress capabilities or nonces. By reading the exposed dotfiles, an attacker can craft a request that invokes CleanDir::execute() with any absolute path, and because the path is not validated against an allow‑list or canonicalized, the plugin will recursively delete that directory. The vulnerability affects all Demi plugin releases up to and including version 0.0.7. Any WordPress installation that hosts the plugin and leaves the uploads subdirectory exposed to the web is vulnerable. The CVSS score of 7.5 indicates high impact with potential data loss and site downtime. The EPSS score of less than 1% suggests a low current exploitation probability, and the vulnerability is not listed in CISA KEV. Exploitation requires only unauthenticated web access to read the vulnerable dotfiles, after which an attacker can trigger directory deletion with the AJAX endpoint, causing irreversible damage to site content and configuration files.

Affected Systems

The Demi plugin – One Click Demo Import, WP Backup & Site Migration – is impacted. All versions up to and including 0.0.7 are vulnerable. The flaw resides within the plugin’s storage of HMAC signing keys and per‑step restore tokens as dotfiles in a publicly accessible subdirectory of the WordPress uploads folder, and the unprotected demi_restore_step AJAX handler. WordPress sites that have this plugin installed and expose the uploads subdirectory to the internet are at risk. The latest patch is available in version 0.0.8 and newer releases of the plugin.

Risk and Exploitability

The vulnerability is rated CVSS 7.5, indicating a high severity. The EPSS score is below 1%, indicating that, at present, the likelihood of exploitation is low. It is not listed in CISA KEV. The attack vector requires only unauthenticated web access: an attacker first retrieves the exposed dotfiles, then submits a forged signed request to the demi_restore_step AJAX endpoint with a crafted absolute path. Because the path is not validated or canonicalized, the CleanDir::execute() method will recursively delete the specified directory, resulting in data loss or site compromise. The vulnerability grants complete directory deletion authority, effectively giving the attacker control over the file system within the scope of the web server’s document root.

Generated by OpenCVE AI on August 3, 2026 at 15:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Demi plugin to the latest version (0.0.8 or newer, or any patched release).
  • Move the WordPress uploads subdirectory that contains the plugin’s dotfiles to a location that is not web‑exposed or protect it with server‑level access controls, such as adding a .htaccess rule to deny all access to that folder.
  • Delete or permanently remove the exposed dotfiles (the HMAC signing key and restore token) from disk; if removal is not possible, relocate them outside the public web root.
  • If the plugin provides a configuration option or if you can modify the plugin code, restrict or disable the demi_restore_step AJAX action so that it requires proper user capability checks before execution.

Generated by OpenCVE AI on August 3, 2026 at 15:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Deveasel
Deveasel demi – One Click Demo Import, Backup & Site Migration
Wordpress
Wordpress wordpress
Vendors & Products Deveasel
Deveasel demi – One Click Demo Import, Backup & Site Migration
Wordpress
Wordpress wordpress

Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description The Demi – One Click Demo Import, WP Backup & Site Migration plugin for WordPress is vulnerable to Arbitrary Directory Deletion in all versions up to, and including, 0.0.7. The vulnerability exists because the plugin stores its HMAC signing key and per-step restore token as dotfiles inside a publicly accessible subdirectory of the WordPress uploads folder — without any `.htaccess` or index file protection — and the `demi_restore_step` AJAX handler, registered for unauthenticated callers, explicitly accepts possession of the on-disk signing key as a standalone alternative to WordPress capability and nonce checks; an unauthenticated attacker who retrieves the exposed key can forge a valid signed state envelope to invoke `CleanDir::execute()` with a caller-supplied absolute path that is subject to no allow-list or path-canonicalization check. This makes it possible for unauthenticated attackers to recursively delete arbitrary directories on the server.
Title Demi <= 0.0.6 - Unauthenticated Arbitrary Directory Deletion via demi_restore_step AJAX action
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Deveasel Demi – One Click Demo Import, Backup & Site Migration
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-28T13:31:20.768Z

Reserved: 2026-07-02T17:14:10.259Z

Link: CVE-2026-14490

cve-icon Vulnrichment

Updated: 2026-07-28T13:31:15.591Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T07:16:40.963

Modified: 2026-07-28T16:07:15.840

Link: CVE-2026-14490

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:45:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')