CVE-2026-71215 Details
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.
A vulnerability in art-template's sub-template resolution logic allows for arbitrary file reading. The issue arises in the file 'src/compile/adapter/resolve-filename.js', where the 'include()' and 'extend()' template directives resolve file paths using 'path.resolve(root, filename)'. This method does not verify that the resolved path remains within the root directory. As a result, absolute paths and '../' traversal sequences can be exploited. The resolved path is then passed directly to 'fs.readFileSync()' in 'loader.js', compiling and rendering the file's contents. Applications that allow external input to influence sub-template names can be exploited to read any accessible files on the disk.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/aui/art-template | TuranSec | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| art-template | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion