CVE-2026-39859CWE-22

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

Medium · published April 8, 2026

CVSS v4.0
6.3
EPSS
1%
Percentile
42.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00503 · 42.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-08T19:45Z
EPSS history
Timeline
  • 08 APR 19:45Z
    LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read
    cvelistv5