{"id":"CVE-2026-45017","published":"2026-05-28T14:24:27Z","modified":"2026-05-28T15:57:12Z","title":"Python Liquid: Absolute paths escape filesystem loader search path","vendor":"jg-rp","product":"liquid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00336,"percentile":0.27648,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jg-rp/liquid/security/advisories/GHSA-8p4x-wr7x-3788","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":5.53},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"jg-rp","affectedVersions":[{"vendor":"jg-rp","product":"liquid","versions":["< 2.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-28T15:57:04.307205Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-liquid","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["GHSA-8p4x-wr7x-3788","PYSEC-2026-192"],"provenance":"source"}],"summary":{"text":"Python Liquid, the Python engine for the Liquid template language from jg-rp, has a path traversal flaw in its built-in FileSystemLoader and CachingFileSystemLoader, which fail to restrict absolute paths to their configured search paths. An attacker who can supply or author a template can use the {% include %} or {% render %} tags to read and render arbitrary files, provided the target file contains valid Liquid markup and is readable by the application process, with no authentication or user interaction indicated beyond that template access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:11Z"},"euvd":{"id":"EUVD-2026-32907","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45017","published":"2026-05-28","fixed":"2.2.0","kev":false},{"cve":"CVE-2026-55865","published":"2026-07-09","fixed":"2.2.1","kev":false,"link":{"from":"CVE-2026-45017","to":"CVE-2026-55865","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:python-liquid","fromFixed":"2.2.0","toFixed":"2.2.1","daysApart":42}]}}],"package":"PyPI:python-liquid"}}