A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-41693

CVE-2026-41693: i18next-fs-backend Path Traversal Flaw

CVE-2026-41693 is a path traversal vulnerability in i18next-fs-backend that allows attackers to read or write files outside intended directories. This article covers the technical details, affected versions, and mitigations.

Published: May 18, 2026

CVE-2026-41693 Overview

CVE-2026-41693 is a path traversal vulnerability [CWE-22] in i18next-fs-backend, a backend layer for i18next that loads translations from the filesystem in Node.js and Deno environments. Versions prior to 2.6.4 substitute the lng and ns options directly into the configured loadPath and addPath templates without encoding or validation. Attackers who can influence either value through HTTP query strings, cookies, or headers can read or overwrite files outside the intended locale directory. The maintainers patched the issue in version 2.6.4.

Critical Impact

A single crafted request such as ?lng=../../../../etc/passwd causes the backend to read arbitrary files from disk, exposing sensitive system data to unauthenticated network attackers.

Affected Products

  • i18next-fs-backend versions prior to 2.6.4
  • Node.js applications using i18next-fs-backend with request-scoped i18next instances
  • Applications combining i18next-fs-backend with i18next-http-middleware where users select language via query string, cookie, or header

Discovery Timeline

  • 2026-05-08 - CVE-2026-41693 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-41693

Vulnerability Analysis

The vulnerability resides in how i18next-fs-backend constructs filesystem paths for loading and saving translation resources. The library exposes two configuration templates, loadPath and addPath, that contain {{lng}} and {{ns}} placeholders. At runtime, the backend substitutes user-supplied language and namespace identifiers into these templates and passes the resulting string directly to filesystem read and write operations.

Because the substitution is unencoded and unvalidated, the resolved path can escape the intended locale directory. A crafted lng or ns value containing .., a path separator, a control character, a prototype key, or an unexpectedly long string steers the file operation to an arbitrary location. The attack vector is network-based and requires no authentication or user interaction.

Root Cause

The root cause is missing input validation on template variables before filesystem operations. The backend trusts that lng and ns are well-formed locale identifiers, yet the values often originate from HTTP request data when i18next-http-middleware or similar request-scoped wrappers are in use. No allowlist, canonicalization, or boundary check is applied prior to invoking fs.readFile or fs.writeFile.

Attack Vector

An attacker sends a request that controls the language selector, for example GET /resource?lng=../../../../etc/passwd. The middleware passes the value into the i18next instance, which calls into i18next-fs-backend. The backend resolves the loadPath template to a path outside the locale directory and returns the file contents to the translation pipeline. The same primitive applies to addPath for write operations, enabling overwrite of files the Node.js process can modify.

No verified public exploit code is currently available. Refer to the GitHub Security Advisory GHSA-8847-338w-5hcj for technical details.

Detection Methods for CVE-2026-41693

Indicators of Compromise

  • HTTP requests containing lng or ns parameters with .., URL-encoded path separators (%2f, %5c), or null bytes
  • Node.js process file access events targeting paths outside the configured locales directory
  • Unexpected reads of sensitive files such as /etc/passwd, .env, or application configuration by the Node.js runtime
  • Write operations from the application process to paths outside its working directory tree

Detection Strategies

  • Inspect web server and reverse proxy logs for traversal sequences in language and namespace parameters
  • Audit application logs for i18next backend errors referencing paths outside the locales directory
  • Monitor filesystem telemetry for the Node.js process accessing files unrelated to translations
  • Run dependency scanners such as npm audit to identify i18next-fs-backend versions below 2.6.4

Monitoring Recommendations

  • Enable verbose logging on i18next-http-middleware to capture user-supplied lng and ns values
  • Forward web application firewall (WAF) and runtime application self-protection (RASP) events to a centralized SIEM for correlation
  • Alert on filesystem access by the application process outside an allowlisted directory tree

How to Mitigate CVE-2026-41693

Immediate Actions Required

  • Upgrade i18next-fs-backend to version 2.6.4 or later in all Node.js and Deno applications
  • Audit application code for any pathway that propagates request data into the lng or ns options
  • Restrict the Node.js process to least-privilege filesystem permissions to limit impact of any residual traversal

Patch Information

The issue is fixed in i18next-fs-backend version 2.6.4. Update the dependency in package.json and run npm install or the equivalent for your package manager. Verify the resolved version with npm ls i18next-fs-backend. See the GitHub Security Advisory GHSA-8847-338w-5hcj for the full patch description.

Workarounds

  • Validate lng and ns against a strict allowlist of supported locales and namespaces before passing them to i18next
  • Reject any language or namespace value containing .., /, \, control characters, or excessive length at the middleware layer
  • Configure a WAF rule to block traversal patterns in lng and ns query parameters, cookies, and headers
  • Run the Node.js process in a container or sandbox with read-only mounts outside the locales directory
bash
# Configuration example
npm install i18next-fs-backend@^2.6.4
npm ls i18next-fs-backend

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechI18next

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42353: i18next-http-middleware Path Traversal

  • CVE-2026-41683: i18next-http-middleware XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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