Home

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.

PUBLISHED Reserved 2026-01-20 | Published 2026-02-05 | Updated 2026-02-05 | Assigner Wordfence




MEDIUM: 4.9CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

* (semver)
affected

Timeline

2026-01-20:Vendor Notified
2026-02-04:Disclosed

Credits

Rafał finder

References

www.wordfence.com/...-67c8-457f-8d85-7aede8e12d44?source=cve

plugins.trac.wordpress.org/.../Controller/AjaxController.php

plugins.trac.wordpress.org/.../Controller/AjaxController.php

plugins.trac.wordpress.org/.../Controller/BulkController.php

plugins.trac.wordpress.org/...ptimiser&sfp_email=&sfph_mail=

cve.org (CVE-2026-1246)

nvd.nist.gov (CVE-2026-1246)

Download JSON