{"id":"CVE-2026-7311","published":"2026-07-02T18:32:13Z","modified":"2026-07-02T19:40:57Z","title":"TinyPNG <= 3.6.13 - Authenticated (Author+) Arbitrary File Deletion via 'convert.path' in 'tiny_compress_images' Post…","vendor":"tinypng","product":"TinyPNG – JPEG, PNG & WebP image compression","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01035,"percentile":0.64669,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/eb8a673e-a192-41d4-b53b-7d786887242d?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-image-size.php#L245","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/config/class-tiny-config.php#L12","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-image.php#L144","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-plugin.php#L859","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3532827/tiny-compress-images","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":12.93},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"tinypng","affectedVersions":[{"vendor":"tinypng","product":"TinyPNG – JPEG, PNG & WebP image compression","versions":["<= 3.6.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-02T19:36:26.226449Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41418","exploited":false,"provenance":"source"}}