Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2026-1246cvecve-2026-1246cwe-22
Published: Thu Feb 05 2026 (02/05/2026, 06:47:41 UTC)
Source: CVE Database V5
Vendor/Project: shortpixel
Product: 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

AILast updated: 02/26/2026, 19:00:36 UTC

Technical Analysis

CVE-2026-1246 is a CWE-22 path traversal vulnerability found in the ShortPixel Image Optimizer plugin for WordPress, specifically in the 'loadLogFile' AJAX action. The vulnerability arises from improper validation and sanitization of the 'loadFile' parameter, which allows an authenticated attacker with Editor-level or higher privileges to manipulate the file path and read arbitrary files on the server. This arbitrary file read can expose sensitive server-side information such as database credentials, authentication keys, and other critical configuration files. The flaw affects all versions up to and including 6.4.2 of the plugin. Exploitation requires no user interaction but does require authentication with elevated privileges, making it a targeted threat primarily to compromised or insider accounts. The vulnerability has a CVSS 3.1 base score of 4.9, indicating medium severity, with high confidentiality impact but no impact on integrity or availability. No public exploits have been reported yet, but the vulnerability poses a significant risk to the confidentiality of data on affected WordPress sites. The plugin is widely used for image optimization and conversion to WebP and AVIF formats, making this vulnerability relevant to many WordPress installations worldwide. The lack of a patch link suggests a fix may be pending or recently released. Organizations should monitor updates from the vendor and apply patches promptly once available.

Potential Impact

The primary impact of CVE-2026-1246 is unauthorized disclosure of sensitive information stored on the web server hosting the vulnerable WordPress plugin. Attackers with Editor-level access can leverage this vulnerability to read arbitrary files, potentially exposing database credentials, authentication keys, configuration files, and other sensitive data. This can lead to further compromise of the website and backend systems, including privilege escalation, data theft, and lateral movement within the network. While the vulnerability does not directly affect system integrity or availability, the confidentiality breach can have severe consequences such as data leaks, loss of customer trust, regulatory penalties, and financial damage. Organizations relying on ShortPixel Image Optimizer for image processing on WordPress sites are at risk, especially if they have multiple users with elevated privileges or weak access controls. The medium CVSS score reflects the moderate ease of exploitation due to required authentication but significant confidentiality impact. The absence of known exploits in the wild currently limits immediate widespread damage but does not reduce the urgency of mitigation.

Mitigation Recommendations

1. Immediately restrict access to the ShortPixel Image Optimizer plugin to only trusted users with the minimum necessary privileges; consider reducing Editor-level access where possible. 2. Monitor and audit user accounts with Editor or higher privileges for suspicious activity, including unusual AJAX requests to the 'loadLogFile' action. 3. Apply any available patches or updates from the ShortPixel vendor as soon as they are released to address this vulnerability. 4. If patches are not yet available, implement web application firewall (WAF) rules to detect and block path traversal attempts targeting the 'loadFile' parameter in AJAX requests. 5. Harden the WordPress environment by disabling unnecessary plugins and limiting file system permissions to prevent unauthorized file reads. 6. Conduct regular security reviews and vulnerability scans on WordPress sites to detect similar path traversal or arbitrary file read vulnerabilities. 7. Educate site administrators and editors on the risks of elevated privileges and enforce strong authentication mechanisms such as multi-factor authentication (MFA). 8. Consider isolating critical WordPress instances or sensitive data storage to minimize exposure in case of compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 2/26/2026, 7:00:36 PM

Last updated: 3/22/2026, 12:36:11 PM

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses