# CVE-2026-45017: Python Liquid: Absolute paths escape filesystem loader search path

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-05-11T14:57:43.000Z
- Modified: 2026-10-26T13:10:00.140Z
- Also known as: GHSA-8p4x-wr7x-3788, PYSEC-2026-192
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Python Liquid is a Python engine for the Liquid template language. Prior to 2.2.0, the built-in FileSystemLoader and CachingFileSystemLoader do not guard against reading files outside their search paths when given an absolute path to resolve. This allows malicious template authors to load and render arbitrary files via the {% include %} and {% render %} tags. Targeted files would need to contain valid Liquid markup and be readable by the application process. This vulnerability is fixed in 2.2.0.

(As written by CVE List.)

## Affected

- jg-rp liquid: < 2.2.0
- python-liquid (PyPI): before 2.2.0
- jg-rp python_liquid: before 2.2.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: 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 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: 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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/jg-rp/liquid/security/advisories/GHSA-8p4x-wr7x-3788> (advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45017> (advisory)
- <https://github.com/jg-rp/liquid> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/python-liquid/PYSEC-2026-192.yaml> (web)

## Sources

- CVE List: [CVE-2026-45017](https://www.cve.org/CVERecord?id=CVE-2026-45017), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-8p4x-wr7x-3788](https://github.com/advisories/GHSA-8p4x-wr7x-3788), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45017](https://nvd.nist.gov/vuln/detail/CVE-2026-45017), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-192](https://osv.dev/vulnerability/PYSEC-2026-192), CC-BY-4.0, modified 2026-06-03

---

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