LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harttle | liquidjs | before 10.25.3 | 10.25.3 | Patch available | CNA |
| — | liquidjs (npm) | before 10.25.5 | 10.25.5 | Patch available | GHSA-v273-448j-v4qj |
- liquidjs Vendorharttle Affected before 10.25.3 Fixed in 10.25.3 Patch available CNA
- liquidjs (npm) Vendor— Affected before 10.25.5 Fixed in 10.25.5 Patch available GHSA-v273-448j-v4qj
Remediation
- Fix · CNA liquidjs (harttle) Fixed in 10.25.3
- Fix · GHSA-v273-448j-v4qj liquidjs (npm) Fixed in 10.25.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39859
- 2026-10-03 Alias added: GHSA-v273-448j-v4qj
References
Advisory 2
More harttle Liquidjs vulnerabilities
- TI-2026-29912 LiquidJS is vulnerable to Denial of Service via circular block reference in layout CVSS 3.1HIGH 7.5
- TI-2026-28394 Information disclosure in harttle liquidjs CVSS 3.1HIGH 7.5
- TI-2026-25698 LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern CVSS 3.1HIGH 7.5
- TI-2026-25696 LiquidJS: memoryLimit Bypass through Negative Range Values Leads to Process Crash CVSS 3.1HIGH 7.5
- TI-2026-27640 LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates CVSS 4.0HIGH 8.2
- TI-2022-09484 Information exposure in liquidjs CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-39859 · CVE Program
- CVE-2026-39859 · NVD
- FIRST EPSS
- GHSA-v273-448j-v4qj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences