Advisory

PYSEC-2026-192

Also known as: CVE-2026-45017, GHSA-8p4x-wr7x-3788

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-05-28 16:16 UTC
Modified
2026-06-03 12:45 UTC

Affected packages and fixes

python-liquid

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.0 (ecosystem)

Fixed versions

2.2.0

Fix

  • Fixed version 2.2.0
    pip install --upgrade python-liquid==2.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences