{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-7311","published":"2026-07-02T19:17:00.127000Z","last_modified":"2026-07-06T18:02:49.450000Z","status":"Deferred","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"security@wordfence.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["tinypng"],"products":["tinypng/tinypng-jpeg-png-and-webp-image-compression"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":49,"links":{"html_es":"/es/cve/CVE-2026-7311/","html_en":"/en/cve/CVE-2026-7311/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-7311","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-7311"},"untrusted":{"vendor_name":"tinypng","product_name":"TinyPNG – JPEG, PNG & WebP image compression","desc_en":"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.","affected":[{"untrusted_vendor":"tinypng","untrusted_product":"TinyPNG – JPEG, PNG & WebP image compression","versions":[]}],"references":[{"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/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/browser/tiny-compress-images/tags/3.6.13/src/config/class-tiny-config.php#L12","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3532827/tiny-compress-images","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/eb8a673e-a192-41d4-b53b-7d786887242d?source=cve","tags":[]}]}}