Home

Description

The Attachment Manager plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the handle_actions() function in all versions up to, and including, 2.1.2. 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 is deleted (such as wp-config.php).

PUBLISHED Reserved 2025-07-14 | Published 2025-07-18 | Updated 2026-04-08 | Assigner Wordfence




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

Problem types

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

Product status

Default status
unaffected

Any version
affected

Timeline

2025-07-17:Disclosed

Credits

JohSka finder

References

www.wordfence.com/...-4408-4c64-809c-e95fba33009e?source=cve

wordpress.org/plugins/attachment-manager/

cve.org (CVE-2025-7643)

nvd.nist.gov (CVE-2025-7643)

Download JSON