CVE-2026-30952 liquidjs has a path traversal fallback vulnerability
Attackers can read arbitrary files via absolute paths in template tags, affecting applications using liquidjs with user-controlled templates.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-30952?
CVE-2026-30952 is a high-severity path traversal vulnerability in harttle liquidjs, published on 10 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-30952?
2 open source packages ship an affected version, including liquidjs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
liquidjs npm | All versions | 10.25.0 |
liquidjs npm | All versions | 10.25.0 |
Products include Liquidjs Liquidjs.
How do I fix CVE-2026-30952?
Upgrade liquidjs to 10.25.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-30952 being exploited?
There is no known exploitation of CVE-2026-30952 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in harttle liquidjs
- CVE-2026-35525 LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates
- CVE-2026-41311 LiquidJS is vulnerable to Denial of Service via circular block reference in layout
- CVE-2026-33285 LiquidJS: memoryLimit Bypass through Negative Range Values Leads to Process Crash
- CVE-2026-33287 LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern
- CVE-2026-39859 LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read
Sources
Also known as CLEANSTART-2026-RV38622, GHSA-wmfp-5q7x-987x, MINI-7xxg-gj2x-5gpc, MINI-9jc9-fjmc-3q7f.