WordPress security changelog
MEDIUM CVE-2026-1246 Deferred

ShortPixel Image Optimizer: Filesystem traversal

ShortPixel Image Optimizer is affected by filesystem traversal. Exploitation requires at least editor-level access. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 4.9 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
ShortPixel Image Optimizer
Plugin slug
shortpixel-image-optimiser
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Feb 05, 2026
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

This CVE was published Feb 05, 2026 and is one of 4 known issues for this plugin.

Update, patch or deactivate.

Update ShortPixel Image Optimizer to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

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.

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

Primary and upstream sources