The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-1921

CVE-2026-1921: Loco Translate Path Traversal Vulnerability

CVE-2026-1921 is a path traversal flaw in Loco Translate plugin for WordPress that allows authenticated attackers to read arbitrary files. This article covers technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-1921 Overview

CVE-2026-1921 is a path traversal vulnerability [CWE-22] affecting the Loco Translate plugin for WordPress in all versions up to and including 2.8.2. The flaw resides in the fsReference AJAX route, where the findSourceFile() method normalizes user-supplied ref paths containing ../ directory traversal sequences without verifying that the resolved path stays within the intended bundle or content directory. Authenticated attackers holding Translator-level access or higher can read arbitrary .php, .js, .json, and .twig files from the server filesystem. Files named wp-config.php are explicitly excluded by the plugin.

Critical Impact

Authenticated users with the loco_admin capability can read sensitive PHP source files and configuration data outside the translation directory, exposing application secrets, credentials embedded in code, and proprietary plugin or theme logic.

Affected Products

  • Loco Translate plugin for WordPress versions up to and including 2.8.2
  • WordPress sites granting the translator role or loco_admin capability
  • WordPress administrator accounts using Loco Translate 2.8.2 or earlier

Discovery Timeline

  • 2026-05-05 - CVE-2026-1921 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-1921

Vulnerability Analysis

The vulnerability resides in the FsReferenceController.php file within the Loco Translate plugin. The controller exposes an AJAX endpoint that accepts a ref parameter representing a file reference within a translation bundle. The findSourceFile() method normalizes the supplied path but fails to validate that the resolved location remains within the expected bundle or content directory.

An attacker holding the custom loco_admin capability — granted to the translator role and WordPress administrators by default — can submit crafted ref values containing ../ sequences. The normalization step collapses these traversal segments into an absolute filesystem path that escapes the intended directory boundary. The plugin then returns the file contents to the requester.

The scope is limited to file extensions the controller treats as source files: .php, .js, .json, and .twig. The plugin maintains a denylist that blocks files literally named wp-config.php, but other sensitive PHP files containing database credentials, API keys, or hardcoded secrets remain accessible.

Root Cause

The root cause is missing canonicalization-and-containment validation. The findSourceFile() method normalizes input but does not call a check such as str_starts_with($resolved, $allowedBase) to confirm the resolved path stays inside the permitted directory. This is a textbook [CWE-22] Improper Limitation of a Pathname to a Restricted Directory.

Attack Vector

Exploitation requires an authenticated session with the loco_admin capability. The attacker issues an authenticated AJAX request to the fsReference route with a ref parameter constructed to traverse upward from the plugin or content directory. The server returns the contents of the targeted .php, .js, .json, or .twig file. The vector is network-based and does not require user interaction.

Full technical context is available in the Wordfence Vulnerability Report and the Loco Translate FsReferenceController source.

Detection Methods for CVE-2026-1921

Indicators of Compromise

  • POST requests to admin-ajax.php with action=loco_json or related Loco Translate AJAX actions containing ../ sequences in the ref parameter.
  • HTTP request bodies referencing absolute paths or escaping the wp-content/plugins/ or wp-content/themes/ prefix.
  • Unusual outbound responses returning .php source content to authenticated low-privilege users.

Detection Strategies

  • Inspect WordPress access logs for admin-ajax.php requests originating from translator role accounts and parse query bodies for traversal patterns.
  • Apply Web Application Firewall (WAF) rules that match ..%2f, ../, and URL-encoded traversal variants in Loco Translate AJAX parameters.
  • Audit accounts holding the loco_admin capability and correlate their AJAX activity against expected translation workflows.

Monitoring Recommendations

  • Forward WordPress and webserver logs to a centralized logging or SIEM platform and alert on anomalous Loco Translate AJAX traffic.
  • Track the Loco Translate plugin version across managed WordPress estates and flag installations at or below 2.8.2.
  • Monitor file read patterns on the WordPress host for unexpected access to PHP files outside the plugin's translation directories.

How to Mitigate CVE-2026-1921

Immediate Actions Required

  • Upgrade Loco Translate to a version newer than 2.8.2 as published in the vendor change set from 2.8.2 to 2.8.3.
  • Review and reduce the number of accounts assigned the translator role or the loco_admin capability.
  • Rotate any secrets, API keys, or database credentials that may have been exposed in readable PHP, JS, JSON, or Twig files.

Patch Information

The maintainers addressed the issue in the Loco Translate 2.8.3 release. The fix is reflected in the plugin change set 3482475 and the diff between tags 2.8.2 and 2.8.3. Site operators should update through the WordPress plugin manager or by deploying the patched release to their managed WordPress fleet.

Workarounds

  • Temporarily revoke the loco_admin capability from non-administrative roles until the plugin is updated.
  • Deactivate the Loco Translate plugin on production sites that cannot be patched immediately.
  • Deploy WAF rules that block ../ and URL-encoded traversal sequences in ref parameters submitted to admin-ajax.php.
bash
# Example WAF rule (ModSecurity) blocking traversal in Loco Translate ref parameter
SecRule ARGS:ref "@rx \.\./|%2e%2e%2f" \
    "id:1002026,\
    phase:2,\
    deny,\
    status:403,\
    msg:'CVE-2026-1921 Loco Translate path traversal attempt'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score4.9

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • WordPress Loco Translate Source

  • WordPress Loco Translate Source

  • WordPress Loco Translate Source

  • WordPress Loco Translate Source

  • WordPress Loco Translate Change Set

  • WordPress Loco Translate Change Set

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-6320: Salon Booking System Path Traversal Flaw

  • CVE-2026-5957: EmailKit WordPress Path Traversal Flaw

  • CVE-2025-47670: miniOrange WordPress Plugin LFI Vulnerability

  • CVE-2025-32629: WP-BusinessDirectory Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English