---
id: CVE-2026-100690
title: >-
  Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS,
  css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file
  system reads to the project directory and configured mounts
summary: >-
  Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS,
  css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file
  system reads to the project directory and configured mounts. Because the
  Node.js …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-59
vendor: gohugo
product: hugo
affected:
  - 'hugo >= 0.161.0, < 0.166.0'
patched:
  - hugo 0.166.0
published: '2026-09-26'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T16:17:00.597'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100690'
references:
  - url: 'https://github.com/gohugoio/hugo/security/advisories/GHSA-x3mx-cm49-8m9c'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hugo-0.161.0-to-0.165.0-arbitrary-file-read-via-symlinks
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100690.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-100690'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541815'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-100690'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100690'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66266'
  - url: 'https://access.redhat.com/errata/RHSA-2026:74609'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00356
epssPercentile: 0.29159
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-30T15:04:21.434495Z'
scores:
  nvd: 7.5
  vendor: 5.5
  cna: 7.5
ingestedAt: '2026-09-26T13:33:20.906Z'
---

## Overview

Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and configured mounts. Because the Node.js permission model validates only the lexical path and follows symbolic links that point outside the allowed set, Hugo did not detect symlinks escaping the sandbox. An attacker who can contribute content to a Hugo project (for example via a pull request) can commit a symlink such as assets/css/x.css -> /etc/passwd together with a PostCSS plugin that reads it, allowing any file readable by the Hugo build process to be disclosed and potentially embedded in the published site. This affects builds using the default security configuration; projects that do not invoke Node.js tools are unaffected. Fixed in v0.166.0, which scans allowed paths and fails the build when a symbolic link resolves outside them.

## Affected

- `hugo >= 0.161.0, < 0.166.0`

## Remediation

Upgrade past the affected range:

- `hugo 0.166.0`

## Vendor advisories

- **RHSA-2026:66266** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:66266)
- **Red Hat VEX** · Moderate · affected: Red Hat OpenShift GitOps · no fix planned: Red Hat OpenShift GitOps · updated 2026-10-05 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100690.json)
- **RHSA-2026:74609** · Red Hat · fixed in: Cluster Observability Operator 1.5.3 · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74609)
