CVE-2026-1246: Shortpixel Image Optimizer – Optimize Images, Convert WebP & Avif

Medium severity, CVSS 4.9. EPSS: 0.6% chance of exploitation in the next 30 days.

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.

Affected products

  • Shortpixel Shortpixel Image Optimizer – Optimize Images, Convert WebP & Avif: up to and including 6.4.2

Published 2026-02-05. Last modified 2026-06-17.