CVE-2026-1246: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in shortpixel ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
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.
AI Analysis
Technical Summary
CVE-2026-1246 is a path traversal vulnerability (CWE-22) in the ShortPixel Image Optimizer plugin for WordPress. The issue arises from insufficient validation and sanitization of the 'loadFile' parameter in the 'loadLogFile' AJAX action, enabling authenticated users with Editor or higher privileges to perform arbitrary file reads on the server. This can lead to exposure of sensitive data stored in files accessible by the web server process. The vulnerability affects all versions up to and including 6.4.2. The CVSS 3.1 base score is 4.9, reflecting a medium severity with network attack vector, low attack complexity, and high privileges required.
Potential Impact
An attacker with Editor-level or higher access to the WordPress site can exploit this vulnerability to read arbitrary files on the server. This may result in disclosure of sensitive information such as database credentials and authentication keys, potentially facilitating further attacks or unauthorized access. There is no indication of impact to integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Editor-level access to trusted users only and monitor for suspicious activity related to the 'loadLogFile' AJAX action. Avoid exposing sensitive files on the server where possible.
CVE-2026-1246: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in shortpixel ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-1246 is a path traversal vulnerability (CWE-22) in the ShortPixel Image Optimizer plugin for WordPress. The issue arises from insufficient validation and sanitization of the 'loadFile' parameter in the 'loadLogFile' AJAX action, enabling authenticated users with Editor or higher privileges to perform arbitrary file reads on the server. This can lead to exposure of sensitive data stored in files accessible by the web server process. The vulnerability affects all versions up to and including 6.4.2. The CVSS 3.1 base score is 4.9, reflecting a medium severity with network attack vector, low attack complexity, and high privileges required.
Potential Impact
An attacker with Editor-level or higher access to the WordPress site can exploit this vulnerability to read arbitrary files on the server. This may result in disclosure of sensitive information such as database credentials and authentication keys, potentially facilitating further attacks or unauthorized access. There is no indication of impact to integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Editor-level access to trusted users only and monitor for suspicious activity related to the 'loadLogFile' AJAX action. Avoid exposing sensitive files on the server where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-01-20T18:53:28.652Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69843ff8f9fa50a62f08b1ec
Added to database: 2/5/2026, 7:00:08 AM
Last enriched: 4/9/2026, 9:56:20 PM
Last updated: 5/6/2026, 9:30:19 PM
Views: 120
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.