Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

python-liquid

Latest version: v2.3.7

Overview

Last scanned
13 Nov 2026
Published
13 Nov 2026
PyPI package Publisher: jg-rp
101 Stars
19 Forks
4 Versions
2.0M Downloads
Python Repo language

Scan summary

python-liquid was last scanned on 13 Nov 2026 at version 2.3.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 2 were published on 13 Nov 2026.
  • Findings: No rules fired in version 2.3.7.
  • Downloads: 1,964,946 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.3.7 LATEST 13 Nov 2026 No rules fired
3.0.0 13 Nov 2026 No rules fired
2.3.6 25 Oct 2026 No rules fired
2.3.5 17 Oct 2026 Not shown

No rules fired in 2.3.7

Findings

Findings for v2.3.7. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.3.7; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 9 Jul 2026

0 CRITICAL 2 HIGH 0 MEDIUM 0 LOW

Versions

  • ≥ 2.2.1
  • ≥ 2.2.0, < 2.2.1 1 HIGH
  • < 2.2.0 2 HIGH

Vulnerabilities

  • CVE-2026-55865 High 9 Jul 2026 Python Liquid: Infinite loop when parsing malformed `{% case %}` tags Fixed in 2.2.1
  • CVE-2026-45017 High 28 May 2026 python-liquid: Absolute paths escape filesystem loader search path Fixed in 2.2.0

README

The publisher’s own README, as collected from the registry.

[!WARNING] This is the v2 branch of Python Liquid.


Table of Contents

  • Install
  • Links
  • Related Projects
  • Quick Start
  • Contributing

Install

Install Python Liquid using Pipenv:

$ pipenv install -u python-liquid

Or pip:

$ pip install python-liquid

Or from conda-forge:

$ conda install -c conda-forge python-liquid

Links

Related Projects

Quick Start

render()

This example renders a template from a string of text with the package-level render() function. The template has just one placeholder variable you, which we've given the value "World".

from liquid import render

print(render("Hello, {{ you }}!", you="World"))
# Hello, World!
parse()

Often you'll want to render the same template several times with different variables. We can parse source text without immediately rendering it using the parse() function. parse() returns a BoundTemplate instance with a render() method.

from liquid import parse

template = parse("Hello, {{ you }}!")
print(template.render(you="World"))  # Hello, World!
print(template.render(you="Liquid"))  # Hello, Liquid!
Configure

Both parse() and render() are convenience functions that use the default Liquid environment. For all but the simplest cases, you'll want to configure an instance of Environment, then load and render templates from that.

from liquid import CachingFileSystemLoader
from liquid import Environment

env = Environment(
    autoescape=True,
    loader=CachingFileSystemLoader("./templates"),
)

Then, using env.parse() or env.get_template(), we can create a BoundTemplate from a string or read from the file system, respectively.

# ... continued from above
template = env.parse("Hello, {{ you }}!")
print(template.render(you="World"))  # Hello, World!

# Try to load "./templates/index.html"
another_template = env.get_template("index.html")
data = {"some": {"thing": [1, 2, 3]}}
result = another_template.render(**data)

Unless you happen to have a relative folder called templates with a file called index.html within it, we would expect a TemplateNotFoundError to be raised when running the example above.

Contributing

Please see Contributing to Python Liquid.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases python-liquid

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229