{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-7311","id":"CVE-2026-7311","title":"TinyPNG <= 3.6.13 - Authenticated (Author+) Arbitrary File Deletion via 'convert.path' in 'tiny_compress_images' Post Meta","description":"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 remo","descriptionLong":"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.","published":"2026-07-02T18:32:13.440Z","updated":"2026-07-06T18:02:49.450Z","reserved":"2026-04-28T12:43:26.086Z","status":"Deferred","rejected":false,"assigner":"Wordfence","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Wordfence"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Wordfence"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"wordfence.com"}],"rating":"high","products":["TinyPNG – JPEG, PNG & WebP image compression"],"affectedProducts":[{"vendor":"tinypng","product":"TinyPNG – JPEG, PNG & WebP image compression","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.6.13","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01035,"epssPercentile":0.64558,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-7311","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7311","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-7311","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-7311","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}