---
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
vendor: gohugoio
product: hugo
affected:
  - hugo >= 0.162.0 < 0.167.0
patched:
  - hardened_images
published: '2026-10-12'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:15:07.947'
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-109596.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-109596'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2550016'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-109596'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109596'
  - url: 'https://access.redhat.com/errata/RHSA-2026:80677'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00144
epssPercentile: 0.03648
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-14T12:04:35.108374Z'
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.

## Vendor advisories

- **RHSA-2026:80677** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-12 · [advisory](https://access.redhat.com/errata/RHSA-2026:80677)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat OpenShift GitOps, Red Hat OpenStack Platform 18.0 · no fix planned: Red Hat Enterprise Linux 10, Red Hat OpenShift GitOps, Red Hat OpenStack Platform 18.0 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-109596.json)
