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-2025-61686

CVE-2025-61686: React Router Path Traversal Vulnerability

CVE-2025-61686 is a path traversal vulnerability in Shopify React-router/node that allows attackers to access files outside session directories. This article covers technical details, affected versions, impact, and mitigation.

Updated: March 12, 2026

CVE-2025-61686 Overview

CVE-2025-61686 is a critical path traversal vulnerability affecting React Router's session file storage functionality. The vulnerability exists in @react-router/node versions 7.0.0 through 7.9.3, @remix-run/deno prior to version 2.17.2, and @remix-run/node prior to version 2.17.2. When applications use createFileSessionStorage() with an unsigned cookie, attackers can manipulate session identifiers to cause the application to read or write files outside the designated session directory.

Critical Impact

Attackers can potentially access or modify files outside the session storage directory, leading to unauthorized data access or integrity violations depending on server permissions.

Affected Products

  • @react-router/node versions 7.0.0 through 7.9.3
  • @remix-run/deno versions prior to 2.17.2
  • @remix-run/node versions prior to 2.17.2

Discovery Timeline

  • 2026-01-10 - CVE-2025-61686 published to NVD
  • 2026-02-04 - Last updated in NVD database

Technical Details for CVE-2025-61686

Vulnerability Analysis

This path traversal vulnerability (CWE-22) affects the file-based session storage mechanism in React Router and Remix frameworks. The core issue stems from insufficient validation of session identifiers when using the createFileSessionStorage() function with unsigned cookies. Without cryptographic signing, session cookies can be tampered with by attackers to include directory traversal sequences (such as ../) that escape the intended session storage directory.

The impact depends on several factors: the web server process's file system permissions, whether target files conform to the expected session file format, and how the application handles session data. Read operations would only succeed if accessed files match the session format, and even then, the data populates server-side session storage rather than being directly returned to the attacker. However, if application logic exposes session information, data leakage becomes possible. Write operations present a more direct risk, potentially allowing arbitrary file modification within accessible paths.

Root Cause

The vulnerability originates from improper input validation in the session file path construction logic. When createFileSessionStorage() processes session identifiers from unsigned cookies, it fails to sanitize path components before constructing the full file path. This allows malicious session identifiers containing path traversal sequences to escape the designated session directory boundary.

Attack Vector

The attack leverages network-based access with no authentication required. An attacker crafts a malicious session cookie containing directory traversal sequences (e.g., ../../etc/passwd or similar paths). When the server processes this cookie through the createFileSessionStorage() function, it attempts to read or write to the attacker-specified path rather than the legitimate session file location.

The attack's success depends on:

  • The application using unsigned session cookies
  • The web server process having sufficient file system permissions
  • For read operations: target files matching the expected session file format
  • For data exfiltration: application logic that returns session data to clients

Detection Methods for CVE-2025-61686

Indicators of Compromise

  • Unusual session cookie values containing path traversal sequences like ../, ..%2F, or encoded variants
  • Web server error logs showing file access attempts outside the configured session directory
  • Application logs indicating session parsing errors for unexpected file formats
  • File system access audit logs showing the web server process accessing non-session files

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block cookies containing path traversal patterns
  • Monitor session storage directory for unexpected file creation or access patterns
  • Deploy application-level logging to track session identifier validation failures
  • Configure file integrity monitoring (FIM) on sensitive directories to detect unauthorized access

Monitoring Recommendations

  • Enable verbose logging for session management operations in affected React Router and Remix applications
  • Set up alerts for HTTP requests containing encoded directory traversal sequences in cookie headers
  • Monitor web server process file access using tools like auditd on Linux systems
  • Implement real-time alerting for file system operations outside designated application directories

How to Mitigate CVE-2025-61686

Immediate Actions Required

  • Upgrade @react-router/node to version 7.9.4 or later immediately
  • Upgrade @remix-run/deno to version 2.17.2 or later
  • Upgrade @remix-run/node to version 2.17.2 or later
  • Audit application logs for any evidence of exploitation attempts

Patch Information

Security patches have been released by the React Router maintainers. The vulnerability is fully addressed in @react-router/node version 7.9.4, @remix-run/deno version 2.17.2, and @remix-run/node version 2.17.2. For detailed patch information, consult the GitHub Security Advisory.

Workarounds

  • Implement signed session cookies to prevent session identifier tampering
  • Consider switching to alternative session storage mechanisms such as database-backed sessions
  • Apply strict file system permissions to limit web server process access to only necessary directories
  • Deploy a reverse proxy or WAF with path traversal detection rules as an interim measure
bash
# Update affected packages using npm
npm update @react-router/node@7.9.4
npm update @remix-run/deno@2.17.2
npm update @remix-run/node@2.17.2

# Verify installed versions
npm list @react-router/node @remix-run/deno @remix-run/node

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechShopify

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
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