CVE-2026-5771
MEDIUM
4.3
CVSS 3.1
Description
The Loco Translate plugin for WordPress is vulnerable to Arbitrary File Write/Overwrite via Path Traversal in all versions up to, and including, 2.8.4. This is due to the normalize() function processing '..' segments in user-supplied paths without verifying that the resolved absolute path remains within the base directory. This makes it possible for authenticated attackers, with Custom+ level access and above, to write translation files to arbitrary locations on the filesystem.
Affected WordPress components
-
Loco Translate Plugin · loco-translateUp to and including 2.8.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- timwhitlock Loco Translate — Up to and including 2.8.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/ajax/SaveController.php#L10
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/ajax/SaveController.php#L16
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/fs/File.php#L410
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3556744/loco-translate
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/f5bb1931-e593-48be-9ee1-aa08b2380535?source=cve
- nvd.nist.gov Official NVD record