Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45017: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in jg-rp liquid

0
High
VulnerabilityCVE-2026-45017cvecve-2026-45017cwe-22
Published: Thu May 28 2026 (05/28/2026, 14:24:27 UTC)
Source: CVE Database V5
Vendor/Project: jg-rp
Product: liquid

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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/28/2026, 15:48:35 UTC

Technical Analysis

Python Liquid versions before 2.2.0 have an improper limitation of pathname to a restricted directory (CWE-22) in the FileSystemLoader and CachingFileSystemLoader components. These loaders fail to prevent reading files outside their designated search paths when given absolute paths, enabling attackers to load arbitrary files via the {% include %} and {% render %} tags if the files contain valid Liquid markup and are accessible by the application process. The vulnerability is addressed in version 2.2.0.

Potential Impact

An attacker who can author malicious templates can exploit this vulnerability to read and render arbitrary files on the server that are outside the intended template directories. This could lead to unauthorized disclosure of sensitive information contained in those files. However, the files must contain valid Liquid markup and be readable by the application process for successful exploitation.

Mitigation Recommendations

This vulnerability is fixed in Python Liquid version 2.2.0. Users should upgrade to version 2.2.0 or later to remediate this issue. No official patch or temporary fix is indicated other than upgrading. Patch status is not explicitly confirmed beyond the fix in version 2.2.0; users should verify with the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-08T16:58:28.895Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a186052e29bf47b500b421f

Added to database: 5/28/2026, 3:33:38 PM

Last enriched: 5/28/2026, 3:48:35 PM

Last updated: 5/29/2026, 8:21:24 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses