CVE-2026-5771
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
28/11/2026
Last modified:
28/11/2026
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.
Impact
Base Score 3.x
4.30
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/ajax/SaveController.php#L10
- https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/ajax/SaveController.php#L16
- https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.3/src/fs/File.php#L410
- https://plugins.trac.wordpress.org/changeset/3556744/loco-translate
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f5bb1931-e593-48be-9ee1-aa08b2380535?source=cve


