All vulnerabilities

Servers and applications

GHSA-vrm6-x8vp-mv2r

TailwindCSS needs elevated Node permissions

Severity
Medium
Published
27 Aug 2026
Last changed
27 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
0.165.0
Sources
Project advisories (GitHub)

Description

From v0.161.0, Hugo runs Node tools under Node's permission model. Unfortunately TailwindCSS needs a very permissive setup to work (--allow-addons, --allow-child-process, --allow-worker). We have gotten report from a security researcher who says that our fix for GHSA-x597-9fr4-5857 was incomplete, that it's still possible for a Node tool to e.g. read/write files outside outside the project's working directory.

This was fixed in Hugo v0.165.0 by removing tailwindcss from the default security.exec.allow list.

Users who do not use TailwindCSS, or who only build trusted sites, are not affected.

From gohugoio/hugo's security advisory.

Workarounds

Add a security.exec.allow to your hugo.toml with only the external tools that you need. e.g.:

Workarounds as given by gohugoio/hugo's security advisory.

Affected software

SoftwareAffected versions
HugoServers and applications · github:gohugoio/hugo
  • From 0.43 before 0.165.0

About Hugo

static site and RSS generator written in Go

From Wikidata, CC0 1.0.
Share of all websites
0.1%W3Techs, Nov 2026
GitHub stars
90,472GitHub, 15 Nov 2026
Forks
8,450GitHub, 15 Nov 2026
Latest release
v0.170.0GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Developer
Bjorn Erik PedersenWikidata
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
2013Wikidata
First published on GitHub
4 Jul 2013GitHub

References