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

4.9
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2026-1246
CVSS 4.9 (Medium)
Publicly Published February 4, 2026
Last Updated February 5, 2026
Researcher 0N0ise - cert.pl

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.

References

Share

Vulnerability Details for ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF

Software Type Plugin
Software Slug shortpixel-image-optimiser (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.4.3, or a newer patched version
Affected Version
  • <= 6.4.2
Patched Version
  • 6.4.3

Recent vulnerabilities in ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF

# Title CVE ID CVSS Researchers Date
1 ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF <= 6.4.3 - Authenticated (Author+) PHP Object Injection CVE-2026-39471 7.5 daroo April 20, 2026
2 ShortPixel Image Optimizer <= 6.4.3 - Authenticated (Author+) Stored Cross-Site Scripting via Attachment Title CVE-2026-4335 5.4 daroo March 25, 2026
3 ShortPixel Image Optimizer <= 6.3.4 - Authenticated (Contributor+) Settings Import/Export CVE-2025-11378 5.4 Dmitrii Ignatyev October 17, 2025
4 ShortPixel Image Optimizer <= 5.6.3 - Missing Authorization CVE-2024-48044 4.3 Rafie Muhammad October 13, 2024
5 ShortPixel Image Optimizer <= 5.6.3 - Authenticated (Editor+) SQL Injection CVE-2024-48043 4.9 Rafie Muhammad October 13, 2024
6 ShortPixel Image Optimizer <= 5.4.1 - Authenticated(Editor+) PHP Object Injection 6.6 September 14, 2023
7 ShortPixel Image Optimizer <= 4.22.9 - Reflected Cross-Site Scripting 6.1 WPScanTeam June 2, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation