CVE Explorer
CVE-2026-7311
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 th
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"TinyPNG – JPEG, PNG & WebP image compression","vendor":"tinypng","versions":[{"lessThanOrEqual":"3.6.13","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/problemTypes/0/descriptions/0
Source references
6 source assertions{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-image-size.php#L245"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-image.php#L144"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/class-tiny-plugin.php#L859"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/tiny-compress-images/tags/3.6.13/src/config/class-tiny-config.php#L12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/changeset/3532827/tiny-compress-images"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/5
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/eb8a673e-a192-41d4-b53b-7d786887242d?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:59fe384e04c227fb1cd20707ec5e4a6b2cf4397c6236ef46967c8fd372af82dc · sha256:c12f6baf2bf21ac7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.