SecurityContext

CVE-2026-1921: Loco Translate - Path Traversal

  • Cve: CVE-2026-1921
  • Name: Loco Translate - Path Traversal
  • Description: 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.
  • Impact: Authenticated attackers with translator-level access can read arbitrary files outside the translation directory, potentially exposing sensitive information.
  • Remediation: Update to a version later than 2.8.2 or the latest available version.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must have translator-level or higher privileges with loco_admin capability
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0064
  • Epss percentile: 0.51409
  • Assignee: [email protected]
  • Published at: 2026-05-05T03:15:59Z
  • Age in days: 203
  • Modified at: 2026-06-17T10:16:43Z
  • References total: 7
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-1921
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.1/src/ajax/FsReferenceController.php#L12
https://plugins.trac.wordpress.org/browser/loco-translate/tags/2.8.1/src/ajax/FsReferenceController.php#L92
https://plugins.trac.wordpress.org/browser/loco-translate/trunk/src/ajax/FsReferenceController.php#L12
https://plugins.trac.wordpress.org/browser/loco-translate/trunk/src/ajax/FsReferenceController.php#L92
https://plugins.trac.wordpress.org/changeset/3482475/loco-translate/trunk/tpl/admin/config/version.php
https://plugins.trac.wordpress.org/changeset?old_path=%2Floco-translate/tags/2.8.2&new_path=%2Floco-translate/tags/2.8.3
https://www.wordfence.com/threat-intel/vulnerabilities/id/f9ff3058-a08c-40ed-b756-81e703b2277a?source=cve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts