{"cve":"CVE-2026-39859","nvd":{"published":"2026-04-08T20:16:26.273","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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.","cvss_v4":{"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","score":6.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/harttle/liquidjs/security/advisories/GHSA-v273-448j-v4qj"],"products":["liquidjs:liquidjs"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-39859","score":0.00447,"percentile":0.38938,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v273-448j-v4qj","url":"https://osv.dev/vulnerability/GHSA-v273-448j-v4qj","summary":"LiquidJS: `renderFile()` / `parseFile()` bypass configured `root` and allow arbitrary file read","modified":"2026-09-10T03:50:44.797690537Z","packages":[{"ecosystem":"npm","name":"liquidjs","purl":"pkg:npm/liquidjs","ranges":["<10.25.5"],"fixed":["10.25.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}