CVE Explorer
CVE-2026-1246
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 ke
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF","vendor":"shortpixel","versions":[{"lessThanOrEqual":"6.4.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":4.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/Controller/AjaxController.php#L1686"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/Controller/AjaxController.php#L309"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/shortpixel-image-optimiser/tags/6.4.1/class/Controller/BulkController.php#L200"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3449706%40shortpixel-image-optimiser&new=3449706%40shortpixel-image-optimiser&sfp_email=&sfph_mail="}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/references/4
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/03cb41d2-67c8-457f-8d85-7aede8e12d44?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7fa843a1df965a16ea2963d6de4ae4c26b42ca3276131a189b5b8cb29a736cf7 · sha256:2f279f15d303eae9… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.