Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M

CVE-2026-39859LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read

High 7.5

In plain English

A high-severity path traversal in liquidjs from harttle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 59.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, liquidjs 10.25.0 documents root as constraining filenames passed to renderFile() and parseFile(), but top-level file loads do not enforce that boundary. A Liquid instance configured with an empty temporary directory as root can return the contents of arbitrary files. This vulnerability is fixed in 10.25.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmliquidjs10.25.5GHSA-v273-448j-v4qj

Affected products (as reported)

VendorProductVersions
harttle liquidjs < 10.25.3

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References