CVE-2026-1246 MEDIUM

CVE-2026-1246: ShortPixel Image Optimizer <= 6.4.2 - Authenticated (Editor+) Arbitrary File Read via 'loadFile' Parameter

Vendor Shortpixel
Product ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
Weakness CWE-22 · Path traversal
Published February 5, 2026
Last update April 8, 2026

CVSS base score

4.9/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

ShortPixel Image Optimizer versions up to 6.4.2 contain a path traversal vulnerability that allows high-privilege users to read files outside the intended directory. An attacker with administrator or equivalent access can view sensitive files on the server by manipulating file paths. This does not affect file modification or system availability.

What an attacker can do

03Attacker Capabilities

Read arbitrary files on the server outside the plugin's intended directory.

Potential impact on your site

04Site Impact

An admin account compromise could expose sensitive configuration files, database credentials, or other private data stored on the server.

Conditions required to exploit

05Prerequisites

Attacker must have high-level privileges (administrator or equivalent role) on the site.

Key dates

06Disclosure timeline

February 5, 2026 CVE published
April 8, 2026 Record updated