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

CVE-2026-33285: LiquidJS Template Engine DoS Vulnerability

CVE-2026-33285 is a denial of service vulnerability in LiquidJS template engine that allows attackers to crash Node.js processes through reverse range expressions. This article covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33285 Overview

LiquidJS is a Shopify and GitHub Pages compatible template engine in pure JavaScript. A critical security flaw was discovered in versions prior to 10.25.1 where the memoryLimit security mechanism can be completely bypassed using reverse range expressions. This input validation vulnerability allows attackers to allocate unlimited memory, and when combined with string flattening operations like the replace filter, causes a V8 Fatal error that crashes the Node.js process. This results in complete denial of service from a single HTTP request.

Critical Impact

A single malicious HTTP request can crash the entire Node.js process, causing complete denial of service for applications using vulnerable LiquidJS versions.

Affected Products

  • LiquidJS versions prior to 10.25.1
  • Node.js applications using vulnerable LiquidJS template engine
  • Shopify/GitHub Pages compatible applications using LiquidJS

Discovery Timeline

  • March 26, 2026 - CVE CVE-2026-33285 published to NVD
  • March 26, 2026 - Last updated in NVD database

Technical Details for CVE-2026-33285

Vulnerability Analysis

This vulnerability exploits a flaw in LiquidJS's memory limiting mechanism. The memoryLimit feature was designed to prevent resource exhaustion attacks, but it fails to properly validate reverse range expressions. When a user provides a range like (100000000..1) (counting backwards from 100 million to 1), the limiter's validation logic does not correctly account for the memory that will be consumed.

The root issue lies in how the use() and check() methods in the limiter handle count values. The original implementation used count = +count || 0, which would convert non-positive numbers to zero, effectively bypassing the memory check entirely for reverse ranges that evaluate to negative intermediate values.

When this memory allocation bypass is combined with a string flattening operation such as the replace filter, the V8 JavaScript engine encounters a fatal memory condition that cannot be recovered from, causing an immediate process termination.

Root Cause

The vulnerability stems from improper input validation (CWE-20) in the memory limiter utility. The limiter failed to properly handle edge cases where the count value could be negative or non-positive, allowing attackers to bypass memory limit checks entirely. The original code converted these values to zero using the || 0 fallback, which meant no memory was tracked for reverse range allocations.

Attack Vector

An attacker can exploit this vulnerability remotely over the network without authentication. The attack requires no user interaction and can be executed with a single crafted HTTP request to any endpoint that processes LiquidJS templates with user-controlled input. The attacker simply needs to inject a reverse range expression followed by a string operation to trigger the fatal crash.

liquid
{{ (100000000..1) | join: "" | replace: "a", "b" }}

The above template expression creates a massive array through the reverse range, then attempts string operations that exceed V8's memory handling capabilities.

Detection Methods for CVE-2026-33285

Indicators of Compromise

  • Sudden Node.js process crashes with V8 Fatal error messages
  • Memory consumption spikes followed by immediate process termination
  • HTTP requests containing suspicious range patterns like (large_number..small_number) in template inputs
  • Application logs showing template rendering failures with memory-related errors

Detection Strategies

  • Implement request logging to capture template expressions before processing
  • Monitor for regex patterns matching reverse ranges: \(\d{6,}\.\.\d+\)
  • Deploy Web Application Firewall (WAF) rules to detect and block malicious range expressions
  • Enable Node.js memory profiling to detect unusual allocation patterns

Monitoring Recommendations

  • Set up process monitoring to detect and alert on unexpected Node.js crashes
  • Configure memory usage thresholds with alerting before critical levels
  • Implement request payload inspection for template injection patterns
  • Monitor application error rates for sudden spikes indicating DoS attempts

How to Mitigate CVE-2026-33285

Immediate Actions Required

  • Upgrade LiquidJS to version 10.25.1 or later immediately
  • If immediate upgrade is not possible, implement input validation to reject reverse range expressions
  • Review and restrict user input that reaches template rendering functions
  • Consider implementing rate limiting on endpoints that process templates

Patch Information

The vulnerability is patched in LiquidJS version 10.25.1. The fix modifies the Limiter class in src/util/limiter.ts to properly validate count values before tracking memory usage. The patched code now explicitly checks if the count is positive before applying memory limits:

typescript
  use (count: number) {
    if (+count > 0) {
      assert(this.base + +count <= this.limit, this.message)
      this.base += +count
    }
  }
  check (count: number) {
    if (+count > 0) {
      assert(+count <= this.limit, this.message)
    }
  }

Source: GitHub Commit Update

For additional technical details, see the GitHub Security Advisory GHSA-9r5m-9576-7f6x.

Workarounds

  • Implement server-side input sanitization to reject templates containing reverse ranges
  • Deploy a reverse proxy or WAF with rules to filter suspicious template patterns
  • Restrict template rendering to trusted input sources only until patching is complete
  • Run LiquidJS template processing in isolated worker processes to limit crash impact
bash
# Example: Update LiquidJS to patched version
npm update liquidjs@10.25.1

# Or install specific patched version
npm install liquidjs@^10.25.1

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLiquidjs

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-9r5m-9576-7f6x
  • Related CVEs
  • CVE-2026-41311: Liquidjs Template Engine DOS Vulnerability

  • CVE-2026-34166: LiquidJS Memory Limit Bypass DoS Vulnerability

  • CVE-2026-33287: LiquidJS Template Engine DoS Vulnerability

  • CVE-2026-39412: LiquidJS Information Disclosure Flaw
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