Path Traversal in Shortpixel Image Optimizer – Optimize Images, Convert Webp & Avif
CVE-2026-1246
The ShortPixel Image Optimizer plugin for WordPress is vulnerable to Arbitrary File Read via path traversal in the 'loadFile' parameter in all versions up to, and including, 6.4.2 due to insufficient path validation and sanitization in the 'loadLogFile' AJAX action. This makes it possible for authenticated attackers, with Editor-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information such as database credentials and authentication keys.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.006 (43.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 43.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.000
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/03cb41d2-67c8-457f-8d85-7aede…
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/…
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/…
- plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/…
- plugins.trac.wordpress.org/changeset
Frequently asked questions
- What is CVE-2026-1246?
- CVE-2026-1246 is a medium-severity vulnerability in Shortpixel Image Optimizer – Optimize Images, Convert Webp & Avif, classified under Path Traversal. CVSS score: 4.9/10. Published 2026-02-05.
- How severe is CVE-2026-1246?
- Medium severity. CVSS v3 base score is 4.9 out of 10.