LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-61 and the CVSS impact.
Summary
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, for {% include %}, {% render %}, and {% layout %}, LiquidJS checks whether the candidate path is inside the configured partials or layouts roots before reading it. That check is path-based, not realpath-based. Because of that, a file like partials/link.liquid passes the directory containment check as long as its pathname is under the allowed root. If link.liquid is actually a symlink to a file outside the allowed root, the filesystem follows the symlink when the file is opened and LiquidJS renders the external target. So the restriction is applied to the path string that was requested, not to the file that is actually read. This matters in environments where an attacker can place templates or otherwise influence files under a trusted template root, including uploaded themes, extracted archives, mounted content, or repository-controlled template trees. This vulnerability is fixed in 10.25.3.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harttle | liquidjs | before 10.25.3 | 10.25.3 | Patch available | CNA |
| — | liquidjs (npm) | before 10.25.3 | 10.25.3 | Patch available | GHSA-56p5-8mhr-2fph |
- liquidjs Vendorharttle Affected before 10.25.3 Fixed in 10.25.3 Patch available CNA
- liquidjs (npm) Vendor— Affected before 10.25.3 Fixed in 10.25.3 Patch available GHSA-56p5-8mhr-2fph
Remediation
- Fix · CNA liquidjs (harttle) Fixed in 10.25.3
- Fix · GHSA-56p5-8mhr-2fph liquidjs (npm) Fixed in 10.25.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35525
- 2026-10-03 Alias added: GHSA-56p5-8mhr-2fph
References
More harttle Liquidjs vulnerabilities
- TI-2026-29912 LiquidJS is vulnerable to Denial of Service via circular block reference in layout CVSS 3.1HIGH 7.5
- TI-2026-28394 Information disclosure in harttle liquidjs CVSS 3.1HIGH 7.5
- TI-2026-25698 LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern CVSS 3.1HIGH 7.5
- TI-2026-25696 LiquidJS: memoryLimit Bypass through Negative Range Values Leads to Process Crash CVSS 3.1HIGH 7.5
- TI-2022-09484 Information exposure in liquidjs CVSS 3.1MEDIUM 5.3
- TI-2026-26466 LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-35525 · CVE Program
- CVE-2026-35525 · NVD
- FIRST EPSS
- GHSA-56p5-8mhr-2fph · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences