๐Ÿ” CVE Alert

CVE-2026-71215

HIGH 7.5

art-template: Path Traversal in Sub-Template Resolution via include()/extend()

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor art-template
Product art-template
Published Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for art-template art-template

Be the first to know when new high vulnerabilities affecting art-template art-template are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

art-template / art-template
0 โ‰ค 4.13.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/aui/art-template

Credits

muhammadsiddiq