---
id: CVE-2026-109574
title: >-
  Hugo before v0.167.0 contains a path traversal vulnerability in css.Sass that
  allows malicious themes or modules to read files outside the project root
  through the Sass compiler's import fallback
summary: >-
  Hugo before v0.167.0 contains a path traversal vulnerability in css.Sass that
  allows malicious themes or modules to read files outside the project root
  through the Sass compiler's import fallback. Attackers can ship stylesheets
  with rela…
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-22
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T23:17:22.730'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109574'
references:
  - url: 'https://github.com/gohugoio/hugo/security/advisories/GHSA-3jfr-vjcq-7jvf'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hugo-before-0.167.0-path-traversal-via-css-sass-import-fallback
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T00:09:02.612Z'
---

## Overview

Hugo before v0.167.0 contains a path traversal vulnerability in css.Sass that allows malicious themes or modules to read files outside the project root through the Sass compiler's import fallback. Attackers can ship stylesheets with relative, absolute, or symlinked @import or @use targets to compile readable files into the published site CSS.

## Remediation

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