CVE-2026-71215
Received Received - Intake

Path Traversal in art-template

Vulnerability report for CVE-2026-71215, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Description

art-template's sub-template resolution logic (src/compile/adapter/resolve-filename.js), used by both the include() and extend() template directives, resolves the target file path via path.resolve(root, filename) with no check afterward that the result remains inside root. Because path.resolve() discards root entirely when filename is an absolute path, and does not block '../' traversal sequences, and the resolved path is passed directly to fs.readFileSync() in loader.js with its contents compiled and rendered, an application that lets a sub-template name be influenced by external input (e.g. a query parameter passed into {{include page}}) allows an attacker to read arbitrary files on disk that the Node process can access.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
aui art-template to 2026-07-13 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in art-template allows path traversal attacks. When using include() or extend() template directives, the system resolves file paths without validating if the resolved path stays within the intended directory. Attackers can exploit this by providing absolute paths or '../' sequences to read arbitrary files on the server that the Node process can access.

Detection Guidance

Check if your application uses art-template versions before the fix. Inspect template files for user-controlled input in include() or extend() directives. Search for path.resolve() usage in template resolution logic.

Impact Analysis

If your application uses art-template and allows user-controlled input for template names, attackers could read sensitive files like configuration files, source code, or system files. This could lead to data breaches, source code leaks, or unauthorized access to confidential information.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR (data breaches exposing personal data) and HIPAA (unauthorized access to protected health information). Organizations may face legal penalties, fines, and reputational damage if exploited.

Mitigation Strategies

Immediately stop using art-template in production environments as it is no longer maintained and will not receive security patches. Migrate to actively maintained alternative templating engines.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-71215. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart