Skip to content
OpenAdvisories
High · 8.2 CVE-2026-45017 EUVD-2026-32907GHSA-8p4x-wr7x-3788PYSEC-2026-192

Python Liquid: Absolute paths escape filesystem loader search path

Published May 28, 2026 · Updated May 28, 2026 · 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.

Affected products

VendorProductAffectedFixed
jg-rp liquid < 2.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-liquid < 2.2.0 2.2.0 GHSA-8p4x-wr7x-3788

References