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-30952

CVE-2026-30952: LiquidJS Path Traversal Vulnerability

CVE-2026-30952 is a path traversal vulnerability in LiquidJS template engine allowing arbitrary file access via absolute paths. This article covers the security risks, affected versions before 10.25.0, and mitigation steps.

Published: March 13, 2026

CVE-2026-30952 Overview

CVE-2026-30952 is a Path Traversal vulnerability affecting LiquidJS, a Shopify/GitHub Pages compatible template engine written in pure JavaScript. Prior to version 10.25.0, the layout, render, and include tags allow arbitrary file access via absolute paths. This can occur either as string literals or through Liquid variables, with the latter requiring the dynamicPartials: true setting (which is enabled by default).

Critical Impact

Attackers who control template content or can specify the filepath as a Liquid variable can read arbitrary files from the server filesystem, potentially exposing sensitive configuration files, credentials, and application source code.

Affected Products

  • LiquidJS versions prior to 10.25.0
  • Applications using LiquidJS with user-controlled template content
  • Systems with dynamicPartials: true (default setting) allowing variable-based file paths

Discovery Timeline

  • 2026-03-10 - CVE-2026-30952 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-30952

Vulnerability Analysis

This vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as Path Traversal. The flaw exists in LiquidJS's handling of file paths within the layout, render, and include template tags. When processing these tags, the template engine does not properly validate or sanitize the provided file paths, allowing attackers to traverse outside the intended template directory using absolute paths.

The vulnerability is particularly dangerous in scenarios where users have any level of control over template content or can influence the filepath parameter passed to these tags. Since dynamicPartials: true is the default configuration, many installations are vulnerable out of the box when accepting user-supplied Liquid variables for file inclusion.

Root Cause

The root cause lies in insufficient path validation within LiquidJS's file resolution logic. The template engine fails to restrict file access to the designated template root directory when absolute paths are provided. This allows the layout, render, and include tags to resolve paths that point anywhere on the filesystem, bypassing intended directory boundaries. The lack of path canonicalization and boundary checks enables attackers to read sensitive files outside the template directory.

Attack Vector

The attack can be executed remotely over the network without authentication. An attacker needs to either control the template content being processed by LiquidJS or be able to specify a Liquid variable that gets used as a file path in layout, render, or include tags.

When exploited, the attacker crafts a malicious template or variable containing an absolute filesystem path (such as /etc/passwd on Linux systems or other sensitive configuration files). When the template engine processes this input, it reads and potentially renders the contents of the specified file, leading to information disclosure.

The attack requires no user interaction and can be automated against vulnerable applications. Applications that allow user-generated templates or accept user input that influences template file paths are at highest risk.

Detection Methods for CVE-2026-30952

Indicators of Compromise

  • Unexpected file access attempts to sensitive system files (e.g., /etc/passwd, /etc/shadow, application configuration files)
  • Template rendering errors referencing files outside the expected template directory
  • Web application logs showing requests with absolute file paths in template-related parameters
  • Suspicious Liquid template content containing absolute paths or path traversal sequences

Detection Strategies

  • Monitor application logs for file access requests targeting sensitive directories outside the template root
  • Implement web application firewall (WAF) rules to detect and block requests containing absolute paths or path traversal patterns in template-related parameters
  • Review application code for instances where user input flows into LiquidJS layout, render, or include tags
  • Perform static analysis of templates to identify hardcoded absolute paths

Monitoring Recommendations

  • Enable verbose logging for template rendering operations in development and staging environments
  • Set up alerts for file access patterns that indicate path traversal attempts
  • Monitor for unusual read operations on sensitive system files through endpoint detection solutions
  • Implement runtime application self-protection (RASP) to detect and block path traversal attempts

How to Mitigate CVE-2026-30952

Immediate Actions Required

  • Upgrade LiquidJS to version 10.25.0 or later immediately
  • Audit all applications using LiquidJS to identify instances where user input may control template content or file paths
  • Review and restrict template directories to prevent unintended file access
  • Consider disabling dynamicPartials if variable-based file inclusion is not required

Patch Information

The vulnerability has been fixed in LiquidJS version 10.25.0. The security patch addresses the path validation issue by properly restricting file access to the configured template root directory. For detailed information about the fix, see the GitHub Security Advisory GHSA-wmfp-5q7x-987x and the associated commit.

Additional technical details are available in Pull Request #851 and Pull Request #855.

Workarounds

  • If immediate upgrade is not possible, set dynamicPartials: false to prevent variable-based file path resolution
  • Implement input validation at the application layer to reject any template input containing absolute paths
  • Configure LiquidJS with a restrictive root option that limits file access to a specific directory
  • Use application-level sandboxing to restrict the LiquidJS process's filesystem access permissions
  • Deploy a web application firewall with rules specifically targeting path traversal patterns
bash
# Update LiquidJS to patched version
npm update liquidjs@10.25.0

# Or install specific patched version
npm install liquidjs@10.25.0 --save

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechLiquidjs

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #851

  • GitHub Pull Request #855

  • GitHub Security Advisory GHSA-wmfp-5q7x-987x
  • Related CVEs
  • CVE-2026-39859: LiquidJS Path Traversal Vulnerability

  • CVE-2026-35525: LiquidJS Path Traversal Vulnerability

  • CVE-2026-39412: LiquidJS Information Disclosure Flaw

  • CVE-2026-34166: LiquidJS Memory Limit Bypass DoS 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