CVE-2026-1921: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in timwhitlock Loco Translate
CVE-2026-1921 is a path traversal vulnerability in the Loco Translate WordPress plugin up to version 2. 8. 2. It allows authenticated users with Translator-level or higher privileges to read arbitrary files on the server outside the intended translation directories via the fsReference AJAX route. The vulnerability arises because the plugin's findSourceFile() method does not properly validate normalized paths containing directory traversal sequences. Files named wp-config. php are excluded from access. The vulnerability has a CVSS score of 4. 9 (medium severity). No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
The Loco Translate plugin for WordPress versions up to 2.8.2 contains a path traversal vulnerability (CWE-22) in the fsReference AJAX route. The findSourceFile() method normalizes user-supplied paths but fails to ensure the resolved path remains within the intended directory, allowing authenticated users with the custom loco_admin capability (typically Translator role and administrators) to read arbitrary .php, .js, .json, and .twig files outside the translation directory. The vulnerability excludes wp-config.php files. No patch or official remediation level has been published as of the data provided.
Potential Impact
An authenticated attacker with Translator-level or higher privileges can read arbitrary files on the server filesystem outside the intended translation directory. This can lead to unauthorized disclosure of sensitive source code or configuration files (except wp-config.php). There is no indication of integrity or availability impact. The vulnerability has a medium severity rating with a CVSS score of 4.9.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Translator-level access to trusted users only, as exploitation requires authenticated access with the loco_admin capability. Monitor for updates from the vendor regarding official patches or mitigations.
CVE-2026-1921: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in timwhitlock Loco Translate
Description
CVE-2026-1921 is a path traversal vulnerability in the Loco Translate WordPress plugin up to version 2. 8. 2. It allows authenticated users with Translator-level or higher privileges to read arbitrary files on the server outside the intended translation directories via the fsReference AJAX route. The vulnerability arises because the plugin's findSourceFile() method does not properly validate normalized paths containing directory traversal sequences. Files named wp-config. php are excluded from access. The vulnerability has a CVSS score of 4. 9 (medium severity). No official patch or remediation guidance is currently available.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Loco Translate plugin for WordPress versions up to 2.8.2 contains a path traversal vulnerability (CWE-22) in the fsReference AJAX route. The findSourceFile() method normalizes user-supplied paths but fails to ensure the resolved path remains within the intended directory, allowing authenticated users with the custom loco_admin capability (typically Translator role and administrators) to read arbitrary .php, .js, .json, and .twig files outside the translation directory. The vulnerability excludes wp-config.php files. No patch or official remediation level has been published as of the data provided.
Potential Impact
An authenticated attacker with Translator-level or higher privileges can read arbitrary files on the server filesystem outside the intended translation directory. This can lead to unauthorized disclosure of sensitive source code or configuration files (except wp-config.php). There is no indication of integrity or availability impact. The vulnerability has a medium severity rating with a CVSS score of 4.9.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Translator-level access to trusted users only, as exploitation requires authenticated access with the loco_admin capability. Monitor for updates from the vendor regarding official patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-04T17:33:59.876Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f95b2ccbff5d861087955a
Added to database: 5/5/2026, 2:51:24 AM
Last enriched: 5/5/2026, 3:07:39 AM
Last updated: 5/5/2026, 5:54:30 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.