CVE-2026-39859 LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file read
MediumCVSS 6.3
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| liquidjs | < 10.25.3 | 10.25.3 | Fixed |
| npm liquidjs(npm) | < 10.25.5; <= 10.25.4 | 10.25.5 | Fixed |
| harttle liquidjs | = < 10.25.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| harttle liquidjs | = < 10.25.3 | No fix listed |
| npm liquidjs(npm) | <= 10.25.4 | No fix listed |
| liquidjs | < 10.25.3 | 10.25.3 |
| npm liquidjs(npm) | < 10.25.5 | 10.25.5 |
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-v273-448j-v4qj vendor-advisory
- github.com patch
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product