CVE-2026-30952 liquidjs has a path traversal fallback vulnerability

High 8.7 Published Updated

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.

PackageAffectedFixed in
liquidjs npmAll versions10.25.0
liquidjs npmAll versions10.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.

Sources

Also known as CLEANSTART-2026-RV38622, GHSA-wmfp-5q7x-987x, MINI-7xxg-gj2x-5gpc, MINI-9jc9-fjmc-3q7f.

Is CVE-2026-30952 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free