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

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-04-08T15:04:44.000Z
- Modified: 2026-09-10T03:50:44.797Z
- Also known as: GHSA-v273-448j-v4qj
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- harttle liquidjs: < 10.25.3
- liquidjs (npm): before 10.25.5
- liquidjs liquidjs: before 10.25.3

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/harttle/liquidjs/security/advisories/GHSA-v273-448j-v4qj> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39859> (advisory)
- <https://github.com/harttle/liquidjs/pull/870> (web)
- <https://github.com/harttle/liquidjs/commit/f41c1fc02fe901598f3328118b42b13bc6bc9b04> (web)
- <https://github.com/harttle/liquidjs> (package)
- <https://github.com/harttle/liquidjs/releases/tag/v10.25.5> (web)

## Sources

- CVE List: [CVE-2026-39859](https://www.cve.org/CVERecord?id=CVE-2026-39859), CVE Terms of Use, modified 2026-04-10
- GitHub Advisory Database: [GHSA-v273-448j-v4qj](https://github.com/advisories/GHSA-v273-448j-v4qj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-39859](https://nvd.nist.gov/vuln/detail/CVE-2026-39859), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39859 · Whole record: https://cve.day/CVE-2026-39859.json · Rebuilt by cve.day 2026-11-25T22:59:18.308Z
