p PatchFirst

CVE-2026-45017

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.2 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • liquid

    Versions
    • < 2.2.0: Affected

    No fix published

  • python-liquid PyPI

    Versions
    • 0.10.0
    • 0.10.1
    • 0.11.0
    • 0.5.1
    • 0.5.2
    • 0.5.3
    • 0.5.5
    • 0.5.6
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.1.6
    • 1.1.7
    • 1.10.0
    • 1.10.2
    • 1.11.0
    • 1.12.0
    • 1.12.1
    • 1.12.2
    • 1.13.0
    • 1.2.0
    • 1.2.1
    • 1.3.0
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.4.4
    • 1.4.5
    • 1.4.6
    • 1.4.7
    • 1.5.0
    • 1.5.1
    • 1.6.0
    • 1.6.1
    • 1.7.0
    • 1.8.0
    • 1.8.1
    • 1.9.0
    • 1.9.1
    • 1.9.2
    • 1.9.3
    • 1.9.4
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.1.0
    Affected ranges
    • ECOSYSTEM: < 2.2.0

    Update to 2.2.0

Original sources

Check your server →