---
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-109574.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-109574'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2550039'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-109574'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109574'
  - url: 'https://access.redhat.com/errata/RHSA-2026:80677'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-10-13T00:09:02.612Z'
vendor: gohugoio
product: hugo
affected:
  - hugo < 0.167.0
epss: 0.00144
epssPercentile: 0.03648
patched:
  - hardened_images
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-26T16:37:30.626776Z'
---

## 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.

## 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-109574.json)
