---
id: CVE-2026-109596
title: >-
  Hugo from v0.162.0 before v0.167.0 contains an improper link resolution
  vulnerability that lets malicious themes or modules expose files outside their
  root via nested-mount ancestor directories
summary: >-
  Hugo from v0.162.0 before v0.167.0 contains an improper link resolution
  vulnerability that lets malicious themes or modules expose files outside their
  root via nested-mount ancestor directories. Attackers controlling a theme can
  place a …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-59
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T23:17:23.033'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109596'
references:
  - url: 'https://github.com/gohugoio/hugo/security/advisories/GHSA-6c8w-mpp8-9w47'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hugo-from-0.162.0-before-0.167.0-symlink-file-disclosure-via-nested-mount-ancestor
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T00:09:02.613Z'
---

## Overview

Hugo from v0.162.0 before v0.167.0 contains an improper link resolution vulnerability that lets malicious themes or modules expose files outside their root via nested-mount ancestor directories. Attackers controlling a theme can place a symlink or NTFS junction at a virtual ancestor directory, causing resources.Match to list and publish local files during builds.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
