Arbitrary File Deletion Vulnerability in TinyPNG Plugin for WordPress

Check todayData or code tampering over the network by a logged-in user.
8.1HIGH

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

SQL Injection Vulnerability in Hello Clever Gateway for WooCommerce by Hello Clever Pty

CVE-2026-136113
WordPressHello Clever Gateway F...9.3CRITICAL

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL
View more WordPress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

lhking
.