Skip to main content

Loco Translate EUVDEUVD-2026-27169

| CVE-2026-1921 MEDIUM
Path Traversal (CWE-22)
2026-05-05 Wordfence
4.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain translator WordPress account
  2. Delivery
    Authenticate to WordPress
  3. Exploit
    Send crafted AJAX request with ../ in ref parameter
  4. Execution
    fsReference endpoint normalizes path without validation
  5. Impact
    Arbitrary file disclosed to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires THREE specific conditions to be met simultaneously: (1) Attacker must be authenticated to WordPress as a user account with the loco_admin custom capability, which is granted to the translator role by default-unauthenticated remote attacks are not possible; (2) The fsReference AJAX action must be accessible and the target ref parameter must support path normalization without validation of directory boundaries; (3) The target file must be readable by the WordPress process (typically files readable by the web server user). Non-default configurations that LIMIT exploitation include: custom capability assignment that removes loco_admin from translator roles, disabling the Loco Translate plugin entirely, or implementing file access restrictions at the operating system level (e.g., SELinux, AppArmor) that prevent the web server process from reading files outside intended directories. Authentication is mandatory and eliminates unauthenticated remote attack scenarios.

Impact

The CVSS 4.9 score reflects high confidentiality impact (C:H) with high privilege requirements (PR:H), network accessibility (AV:N), and low complexity (AC:L). However, the real-world risk is substantially constrained by three critical factors: First, exploitation requires authentication AND a specific WordPress capability assignment (loco_admin) that defaults to translator-level users-not all WordPress users. Second, the attack vector is network-based but gated by authentication, reducing the pool of potential attackers to trusted site contributors and administrators. Third, while the plugin can disclose sensitive files, the CVSS confidentiality-only impact (I:N, A:N) means no data modification or availability loss occurs. The absence of public exploit code and lack of CISA KEV listing suggest this is not actively exploited at scale, despite being a legitimate information disclosure risk. Organizations should prioritize patching based on whether they grant translator roles to untrusted users; sites with restrictive translator access face lower practical risk. The vulnerability is real but contextualized by privilege and capability requirements that many WordPress administrators do not enable for external contributors.

Exploit ScenarioDerived

A WordPress site administrator grants translator-level access to a freelance translator user to manage translations. An attacker obtains the translator account credentials (e.g., via credential stuffing or phishing). The attacker uses the WordPress REST/AJAX API to send a crafted request to the fsReference AJAX endpoint with a malicious ref parameter containing ../../../wp-config.php or ../../../../../../../etc/passwd. The findSourceFile() method normalizes the path without proper boundary validation, resolving it to the parent directories, and returns the file contents to the attacker, disclosing database credentials, API keys, or system information.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

Loco Translate plugin for WordPress versions up to 2.8.2 allows authenticated attackers with Translator-level access to read arbitrary files outside the intended translation directory via path traversal in the fsReference AJAX endpoint. The vulnerability exploits insufficient validation of directory traversal sequences (../) in the findSourceFile() method, enabling disclosure of sensitive .php, .js, .json, and .twig files including wp-config.php-adjacent files. No public exploit code has been identified at time of analysis, and the attack requires administrative capability assignment (loco_admin capability) granted to translators by default.

RemediationAI

Update Loco Translate to version 2.8.3 or later, which includes path validation fixes in the findSourceFile() method to prevent directory traversal. Apply the patch from the plugin repository at https://plugins.trac.wordpress.org/changeset?old_path=%2Floco-translate/tags/2.8.2&new_path=%2Floco-translate/tags/2.8.3. As an interim workaround before patching, restrict the loco_admin capability to site administrators only and remove it from the translator role using capability management plugins or code (e.g., remove_cap('translator', 'loco_admin')). Alternatively, disable the Loco Translate plugin entirely on sites where the AJAX fsReference endpoint is not actively used for translation workflows. Additionally, implement file access logging and monitoring for the /wp-admin/admin-ajax.php?action=loco_fsReference endpoint to detect exploitation attempts targeting parent directory access patterns. Monitor for requests containing ../ sequences in the ref parameter.

Affected VersionsENISA

Loco Translate 0 ≤2.8.2

Affected Packages

euvd loco_translate no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the FsReferenceController.php AJAX route handler, specifically the findSourceFile() method which processes user-supplied ref parameters. The method normalizes paths containing ../ sequences but fails to validate that the resolved file path remains within the designated bundle or content directory boundary. This is a classic Path Traversal (CWE-22) vulnerability where inadequate input validation allows an attacker to access files outside the intended application namespace. The fsReference AJAX endpoint is accessible to authenticated users with the loco_admin custom capability, which is granted to the translator role and administrators by default in WordPress. The plugin's file reading mechanism does not properly implement allowlist-based path validation or restrict access to parent directories above the translation working directory.

Know when Loco Translate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The Loco Translate plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.8.2 via the fsReference AJAX route. This is due to the findSourceFile() method normalizing user-supplied ref paths containing ../ directory traversal sequences without validating that the resolved path remains within the intended bundle or content directory. This makes it possible for authenticated attackers, with Translator-level access and above (custom loco_admin capability required, granted to the translator role and administrators by default), to read arbitrary .php, .js, .json, and .twig files from the server filesystem outside the intended translation directory. Files named wp-config.php are excluded.

Threat Intelligence Overview

EPSS Score
0.2%
Top 56% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy