CVE-2026-30952
Received Received - Intake
Arbitrary File Access in LiquidJS Template Engine Prior to

Publication date: 2026-03-10

Last updated on: 2026-03-18

Assigner: GitHub, Inc.

Description
liquidjs is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.0, the layout, render, and include tags allow arbitrary file access via absolute paths (either as string literals or through Liquid variables, the latter require dynamicPartials: true, which is the default). This poses a security risk when malicious users are allowed to control the template content or specify the filepath to be included as a Liquid variable. This vulnerability is fixed in 10.25.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-10
Last Modified
2026-03-18
Generated
2026-06-16
AI Q&A
2026-03-10
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
liquidjs liquidjs to 10.25.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability exists in liquidjs, a JavaScript template engine compatible with Shopify and GitHub Pages. Before version 10.25.0, the layout, render, and include tags allowed arbitrary file access using absolute paths. This could happen either through string literals or Liquid variables (when dynamicPartials is enabled, which is the default).

If a malicious user can control the template content or specify the filepath as a Liquid variable, they could exploit this to access arbitrary files on the system.

This security risk was addressed and fixed in version 10.25.0 of liquidjs.

Impact Analysis

This vulnerability can lead to unauthorized access to arbitrary files on the server where liquidjs is used. If exploited, an attacker could read sensitive files, potentially exposing confidential information or system data.

Since the vulnerability allows file access without any privileges or user interaction, it poses a high security risk.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

To mitigate this vulnerability, upgrade liquidjs to version 10.25.0 or later, where the arbitrary file access issue via layout, render, and include tags has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-30952. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart