CVE-2026-7311
Last modified
CVE-2026-7311 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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). EPSS estimates a 0.67% chance of exploitation in the next 30 days.
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 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| tinypng | TinyPNG – JPEG, PNG & WebP image compression | <= 3.6.13 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-7311?
How severe is CVE-2026-7311?
How do I fix CVE-2026-7311?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-73087Dozzle is a realtime log viewer for docker containers. From …2.3
- CVE-2026-73088Browserslist is a configuration tool for sharing target brow…7.5
- CVE-2026-73089Browserslist is a configuration tool for sharing target brow…7.5
- CVE-2026-7309A flaw was found in the OpenShift Container Platform build s…4.3
- CVE-2026-73090PeerTube is an ActivityPub-federated video streaming platfor…9.3
- CVE-2026-7310A heap-based buffer overflow vulnerability exists in XML par…4.4
- CVE-2026-7312CWE‑522: Insufficiently Protected Credentials in web service…7.5
- CVE-2026-73122A flaw was found in the multicloud-operators-channel compone…7.7
- CVE-2026-7313CWE‑522: Insufficiently Protected Credentials in web service…4.9
- CVE-2026-7314A vulnerability was detected in eiceblue spire-doc-mcp-serve…7.3
- CVE-2026-73140Affected versions of cti-transmute fail to apply comment-lev…5.3
- CVE-2026-7315A flaw has been found in eiceblue spire-pdf-mcp-server 0.1.1…7.3
Are you affected by CVE-2026-7311?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
