Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain author-level WordPress account
-
DeliveryUpload attachment and own it
-
ExploitSet 'convert.path' in tiny_compress_images post meta to target file
-
InstallTrigger attachment deletion
-
C2delete_converted_image_size unlinks arbitrary file
-
ExecuteDelete wp-config.php to force reinstall state
-
ImpactEscalate to remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated WordPress account with author-level capabilities or above (CVSS PR:L) on a site running TinyPNG plugin ≤ 3.6.13; the attacker must be able to create/own an attachment and set its 'tiny_compress_images' post meta 'convert.path' value to an arbitrary absolute filesystem path, then trigger attachment deletion to reach delete_converted_image_size. No user interaction is needed (UI:N) and it is network-reachable via the normal wp-admin/media workflow (AV:N). Limiting factors: exploitation is gated by the author-or-above privilege requirement (not exploitable by unauthenticated or subscriber-only users), and the escalation to RCE depends on the web-server process having permission to delete high-value files (e.g., wp-config.php) and on the target file actually being unlink-able at a known path. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H = 8.1) indicates a network-reachable, low-complexity attack requiring low privileges and no user interaction, with high integrity and availability impact and no confidentiality impact - consistent with a destructive file-deletion primitive rather than data theft. Modeled on SSVC terms, technical impact is high and exploitation is straightforward once author access is obtained, but the automatable dimension is limited because the attacker must first hold a valid author-or-above account, making this more suited to insider/compromised-account or multi-tenant/membership-site abuse than mass, unauthenticated internet scanning. No EPSS score, KEV entry, or public POC was provided, so real-world exploitation signals are currently absent; the practical priority is elevated for sites that grant author+ roles to semi-trusted users and lower for tightly controlled single-author blogs. The RCE-via-wp-config.php claim is credible but is a secondary escalation, not directly reflected in the CVSS vector (confidentiality is scored N even though a takeover would ultimately expose data) - treat the RCE outcome as a realistic consequence rather than an independently confirmed exploit. |
| Exploit ScenarioDerived | An attacker who registers or compromises an author-level WordPress account uploads an image attachment they own, then edits its 'tiny_compress_images' post meta so the 'convert.path' field points to an absolute server path such as /var/www/html/wp-config.php. When they trigger deletion of that attachment, the vulnerable delete_converted_image_size code unlinks the targeted file; removing wp-config.php places the site into a re-installable state that can be steered toward attacker-controlled database credentials and code execution. No public POC was provided, but the low attack complexity (AC:L) and lack of required user interaction make the path reliable once author access is held. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Arbitrary file deletion in the TinyPNG (JPEG, PNG & WebP image compression) plugin for WordPress affects all versions through 3.6.13, allowing authenticated attackers with author-level access or higher to delete any file the web server can reach. Because deleting sensitive files such as wp-config.php pushes the site into a fresh-install state, this file-deletion primitive can be escalated to full remote code execution. There is no public exploit identified at time of analysis and the flaw is not listed in CISA KEV, but it was disclosed by Wordfence with a clear exploitation path and carries a CVSS 8.1 (High).
RemediationAI
Upstream fix available (changeset/commit); a released patched version is not independently confirmed from the provided data - the corrective code is in WordPress.org plugin changeset 3532827 (https://plugins.trac.wordpress.org/changeset/3532827/tiny-compress-images), so update the tiny-compress-images plugin to the first release built from that changeset (the next version after 3.6.13) as soon as it is available and confirmed by the vendor. Until you can verify the patched version, apply compensating controls: restrict who holds author-or-above roles and audit existing author/editor accounts, since exploitation requires that privilege level; if the plugin is not actively needed, deactivate and remove it to eliminate the code path entirely (trade-off: image compression stops); consider tightening filesystem permissions so the PHP/web-server user cannot delete wp-config.php or files outside wp-content/uploads (trade-off: may break other plugins that write outside uploads); and add a web application firewall rule to monitor or block manipulation of the 'tiny_compress_images' post meta and 'convert.path' field (Wordfence customers may receive a signature). Verify remediation against the Wordfence advisory URL above.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The plugin (WordPress slug tiny-compress-images) integrates the TinyPNG/TinyJPG compression API into the WordPress media library, storing per-attachment conversion metadata in the 'tiny_compress_images' post meta. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): the delete_converted_image_size function in class-tiny-image-size.php (around line 245) uses an attacker-controllable 'convert.path' value from that post meta without validating that the path stays within the intended uploads directory. When an attachment is deleted, the plugin walks its stored size metadata (class-tiny-image.php:144, class-tiny-plugin.php:859) and unlinks the referenced path, so a poisoned path is dereferenced directly against the filesystem with the privileges of the PHP/web-server user.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Author-level account is required so PR:L; the media/post-meta path is network-reachable and reliable (AV:N, AC:L, UI:N); arbitrary deletion yields I:H/A:H with no direct data disclosure (C:N).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The TinyPNG - JPEG, PNG & WebP image compression plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_converted_image_size function in all versions up to, and including, 3.6.13. This makes it possible for authenticated attackers, with author-level access and above, 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). An attacker can exploit this by injecting an arbitrary server file path into the 'convert.path' field of the 'tiny_compress_images' post meta on an attachment they own, then triggering attachment deletion to invoke the vulnerable code path.
Executive ViewAI
The TinyPNG WordPress plugin (all versions through 3.6.13) contains an arbitrary file deletion vulnerability allowing authenticated users with author-level access to delete critical site files, including wp-config.php, which can be escalated to remote code execution and complete site compromise. Organizations using this plugin face risk of unauthorized site takeover and data destruction. This requires immediate remediation to prevent potential compromise of affected WordPress installations.
No vendor-released patch identified at time of analysis. Interim mitigation: Disable the vulnerable plugin immediately; restrict author-level user accounts to trusted administrators only; implement read-only file permissions on wp-config.php and other critical WordPress files; monitor web server logs for unusual file deletion attempts; implement Web Application Firewall (WAF) rules to prevent file deletion requests through the plugin.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41418
GHSA-p2fp-6329-h7jp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB