Arbitrary File Deletion Vulnerability in TinyPNG Plugin for WordPress
CVE-2026-7311
Key Information:
- Vendor
WordPress
- CVE ID
- CVE ID:
- CVE-2026-7311
- Vendor
- CVE Published:
- 2 July 2026
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Tinypng β Jpeg, Png & Webp Image Compression. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8.1).
What is CVE-2026-7311?
The TinyPNG β JPEG, PNG & WebP image compression plugin for WordPress is susceptible to arbitrary file deletion due to a lack of stringent file path validation within the delete_converted_image_size function. This vulnerability impacts all versions up to and including 3.6.13. Authenticated users with author-level access or higher can exploit this weakness to delete arbitrary files on the server, potentially paving the way for remote code execution. The attack is initiated by injecting a malicious file path into the 'convert.path' field of the 'tiny_compress_images' post meta associated with an attachment they control, subsequently triggering the deletion process, and thereby exposing the server to significant risks.
Affected Version(s)
TinyPNG β JPEG, PNG & WebP image compression 0 <= 3.6.13
References
More WordPress Vulnerabilities
SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty
Object Injection in Ultimate Member
Unauthorized Password Reset in User Registration Aide Plugin for WordPress
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction