CVE-2026-5821

HIGHPre-NVD 8.18.1
EchelonGraph scoreHIGH confidence

Score 8.1 from GitHub Security Advisory (severity: HIGH) published 2026-07-02. a secondary CVSS source baseline 8.1; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
8.1
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 8.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 v3
8.1
EG Score
8.1(high)
EG Risk
41(Track)
EG Risk 41/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity81% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS
26.8%
KEV
Not listed

Published

July 2, 2026

Last Modified

July 2, 2026

Vendor Advisories for CVE-2026-5821(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 13× in last 7d / 71× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-24 14:18 UTCEPSS rescore
  2. 2026-07-24 14:18 UTCEPSS rescore
  3. 2026-07-23 14:18 UTCEPSS rescore
  4. 2026-07-23 14:18 UTCEPSS rescore
  5. 2026-07-23 03:20 UTCEG score recompute
  6. 2026-07-22 14:08 UTCEPSS rescore
  7. 2026-07-22 14:08 UTCEPSS rescore
  8. 2026-07-21 15:25 UTCEPSS rescore
  9. 2026-07-21 15:25 UTCEPSS rescore
  10. 2026-07-20 17:08 UTCEPSS rescore
  11. 2026-07-19 14:31 UTCEPSS rescore
  12. 2026-07-19 02:29 UTCEPSS rescore
  13. 2026-07-18 10:04 UTCEPSS rescore
  14. 2026-07-17 05:07 UTCGHSA enrichment
  15. 2026-07-16 17:57 UTCGHSA enrichment
  16. 2026-07-16 17:03 UTCEPSS rescore
  17. 2026-07-16 06:47 UTCGHSA enrichment
  18. 2026-07-15 19:30 UTCGHSA enrichment
  19. 2026-07-15 16:57 UTCEPSS rescore
  20. 2026-07-15 08:20 UTCGHSA enrichment
  21. 2026-07-15 02:00 UTCEPSS rescore
  22. 2026-07-15 02:00 UTCEPSS rescore
  23. 2026-07-14 21:09 UTCGHSA enrichment
  24. 2026-07-14 09:59 UTCGHSA enrichment
  25. 2026-07-13 22:49 UTCGHSA enrichment
Show 46 more
  1. 2026-07-13 22:31 UTCEPSS rescore
  2. 2026-07-13 11:39 UTCGHSA enrichment
  3. 2026-07-13 06:13 UTCEPSS rescore
  4. 2026-07-13 06:13 UTCEPSS rescore
  5. 2026-07-13 00:30 UTCGHSA enrichment
  6. 2026-07-12 13:20 UTCGHSA enrichment
  7. 2026-07-12 05:46 UTCEPSS rescore
  8. 2026-07-12 02:04 UTCGHSA enrichment
  9. 2026-07-11 14:52 UTCGHSA enrichment
  10. 2026-07-11 08:27 UTCEPSS rescore
  11. 2026-07-11 08:27 UTCEPSS rescore
  12. 2026-07-11 03:42 UTCGHSA enrichment
  13. 2026-07-10 16:32 UTCGHSA enrichment
  14. 2026-07-10 05:22 UTCGHSA enrichment
  15. 2026-07-09 19:10 UTCEPSS rescore
  16. 2026-07-09 19:10 UTCEPSS rescore
  17. 2026-07-09 18:12 UTCGHSA enrichment
  18. 2026-07-09 07:01 UTCGHSA enrichment
  19. 2026-07-08 19:50 UTCGHSA enrichment
  20. 2026-07-08 15:16 UTCEPSS rescore
  21. 2026-07-08 15:16 UTCEPSS rescore
  22. 2026-07-08 08:36 UTCGHSA enrichment
  23. 2026-07-07 21:27 UTCGHSA enrichment
  24. 2026-07-07 13:46 UTCEPSS rescore
  25. 2026-07-07 13:46 UTCEPSS rescore
  26. 2026-07-07 10:17 UTCGHSA enrichment
  27. 2026-07-06 22:59 UTCGHSA enrichment
  28. 2026-07-06 16:27 UTCEPSS rescore
  29. 2026-07-06 16:27 UTCEPSS rescore
  30. 2026-07-06 11:49 UTCGHSA enrichment
  31. 2026-07-06 02:23 UTCEPSS rescore
  32. 2026-07-06 02:23 UTCEPSS rescore
  33. 2026-07-06 00:38 UTCGHSA enrichment
  34. 2026-07-05 13:28 UTCGHSA enrichment
  35. 2026-07-05 02:31 UTCEPSS rescore
  36. 2026-07-05 02:30 UTCEPSS rescore
  37. 2026-07-05 02:18 UTCGHSA enrichment
  38. 2026-07-04 15:09 UTCGHSA enrichment
  39. 2026-07-04 06:31 UTCEPSS rescore
  40. 2026-07-04 06:31 UTCEPSS rescore
  41. 2026-07-04 03:58 UTCGHSA enrichment
  42. 2026-07-03 16:48 UTCGHSA enrichment
  43. 2026-07-03 05:37 UTCGHSA enrichment
  44. 2026-07-02 18:27 UTCGHSA enrichment
  45. 2026-07-02 07:18 UTCEG score recompute
  46. 2026-07-02 07:18 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-5821?
CVE-2026-5821 is a high vulnerability published on July 2, 2026. 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 ImageBackup::remove() function where backup file paths stored in post meta are used directly in file deletion operations…
When was CVE-2026-5821 disclosed?
CVE-2026-5821 was first published in the National Vulnerability Database on July 2, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-5821 actively exploited?
CVE-2026-5821 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 26.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-5821?
CVE-2026-5821 has a CVSS v3 base score of 8.1 (NVD).
How do I remediate CVE-2026-5821?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-5821, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-5821

Explore →

Is Your Infrastructure Affected by CVE-2026-5821?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.