p PatchFirst

CVE-2026-39859

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • liquidjs

    Versions
    • < 10.25.3: Affected

    No fix published

  • liquidjs npm

    Affected ranges
    • SEMVER: < 10.25.5

    Update to 10.25.5

Original sources

Check your server →