Advisory record · GHSA-8p4x-wr7x-3788

python-liquid: Absolute paths escape filesystem loader search path

CVSS 8.2 HighEPSS 0.0034 · 27th percentile

Published by the GitHub Advisory Database at 11 May 2026, 14:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
python-liquidPyPI<2.2.02.2.0
Identifiers
GHSA-8p4x-wr7x-3788 · CVE-2026-45017 · PYSEC-2026-192
Weakness (CWE)
CWE-22
Published
11 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

python-liquid versions before 2.2.0 have a path traversal flaw: the built-in FileSystemLoader and CachingFileSystemLoader do not block absolute paths, so they can read files outside their search paths. An attacker who can write malicious template content can use the include and render tags to load and render any readable file that contains valid Liquid markup. Upgrade to python-liquid 2.2.0 or later. As a workaround, subclass FileSystemLoader and override resolve_path() to reject absolute paths, then pass that loader to the environment.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 27th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.