CVE-2026-5771
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| timwhitlock | loco_translate | {"endIncluding":"2.8.4"} | |
References
- 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
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.