PT-2026-68053 · Npm · Art-Template

·

CVE-2026-71215

·

Published

2026-08-05

·

Updated

2026-08-10

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions art-template (affected versions not specified)
Description Sub-template resolution logic in src/compile/adapter/resolve-filename.js, utilized by the include() and extend() template directives, fails to verify if the resolved file path remains within the intended root directory. The process uses path.resolve(root, filename), which allows absolute paths to override the root and permits the use of ../ traversal sequences. Since the resulting path is passed to fs.readFileSync() in loader.js for compilation and rendering, an attacker can read arbitrary files accessible to the Node process if the sub-template name is influenced by external input, such as a query parameter passed into {{include page}}.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-71215

Affected Products

Art-Template