Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-5821

Score8.1 High
CVSS 3.1
Exploit probability (EPSS)0.76%
within the next 30 days
CategoryAccess control & privilege
Published2 July 2026
Last modified: 28 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: modifying data, crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

The Image Optimizer plugin for WordPress is vulnerable to arbitrary file deletion in versions up to and including 1.7.4. This is due to insufficient path validation in the Image_Backup::remove() function where backup file paths stored in post meta are used directly in file deletion operations without verifying they are within the uploads directory. The plugin stores backup file paths in the image_optimizer_metadata post meta field and trusts these paths completely when deleting backups on the delete_attachment hook. An authenticated attacker with Author-level access can edit the image_optimizer_metadata post meta on their own attachments via WordPress's Custom Fields interface, injecting arbitrary absolute file paths into the backups array. When the attacker subsequently deletes the attachment, the plugin calls File_System::delete() on each path without validation. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files on the server within the web server's filesystem permissions, potentially leading to denial of service, data loss, or security degradation.

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

Weakness: CWE-73

Sources

Latest in the same category

  • CVE-2026-121477 Low 3.8
    A flaw was found in openpgp-cert-d. When reading a certificate, the component opens and reads the certificate file without verifying whether it is a symbolic link. In an environment where a certificate directory is…
    Access control & privilege · 1 December 2026
  • CVE-2026-121476 Low 3.8
    A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is…
    Access control & privilege · 1 December 2026
  • CVE-2026-121475 Low 3.8
    A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments…
    Access control & privilege · 1 December 2026
  • CVE-2026-121474 Low 3.3
    A flaw was found in sequoia-net. When inserting a certificate into a Web Key Directory (WKD) or creating a policy file, the application opens and writes to destination files without checking for symbolic links. In…
    Access control & privilege · 1 December 2026
  • CVE-2026-119000 Medium 5
    DoS vulnerability in the image codec module. Impact: Successful exploitation of this vulnerability may affect availability.
    Access control & privilege · 1 December 2026
  • CVE-2026-139981 Low 2.1
    A flaw has been found in PerfreeBlog up to 4.0.11. This affects an unknown part of the file CodegenController.java of the component Codegen Module. This manipulation causes missing authorization. The attack may be…
    Access control & privilege · 1 December 2026