<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Hugo (0.162.0 to 0.164.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/hugo-0.162.0-to-0.164.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 18 Aug 2026 16:56:58 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/hugo-0.162.0-to-0.164.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Arbitrary Command Execution in Hugo via TailwindCSS Configuration</title><link>https://feed.craftedsignal.io/briefs/2026-08-18-hugo-cve-2026-75926/</link><pubDate>Tue, 18 Aug 2026 16:56:58 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-18-hugo-cve-2026-75926/</guid><description>Hugo versions 0.162.0 through 0.164.0 allowed arbitrary command execution by incorrectly including TailwindCSS in the default Node.js permission sandbox, enabling malicious configurations to spawn unprivileged shell processes.</description><content:encoded><![CDATA[<p>Hugo versions 0.162.0 through 0.164.0 introduced a security regression involving the Node.js asset pipeline. While the project aimed to use the Node.js permission model to restrict access for build-time tools like PostCSS and Babel, the inclusion of 'tailwindcss' in the default AllowChildProcess configuration in 'config/security/securityConfig.go' undermined this protection.</p>
<p>The vulnerability arises because TailwindCSS executes the project-supplied 'tailwind.config.js' file at startup. An attacker providing a theme, module, or starter template containing a malicious 'tailwind.config.js' can leverage the permitted Node.js process to call 'child_process' functions. Because the resulting spawned process is not a Node process, it fails to inherit the restricted permission flags, executing instead with the full system privileges of the account running the Hugo build. Hugo 0.165.0 remediated this by removing 'tailwindcss' from the default allow-list.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker creates a malicious 'tailwind.config.js' file containing code designed to invoke 'child_process'.</li>
<li>Attacker bundles the malicious file within a Hugo theme, module, or starter template.</li>
<li>Victim downloads and initializes the malicious theme or module within their project directory.</li>
<li>Victim initiates a site build process using an affected version of Hugo (0.162.0 - 0.164.0).</li>
<li>Hugo launches the TailwindCSS process under the default Node.js permission model.</li>
<li>TailwindCSS, authorized by the default security config, executes the malicious 'tailwind.config.js' during the startup phase.</li>
<li>The script inside 'tailwind.config.js' uses 'child_process' to spawn an external shell or binary.</li>
<li>The spawned process executes with the full privileges of the user running the Hugo build, resulting in arbitrary command execution on the build host.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in arbitrary command execution on the system performing the site build. This impacts developers and CI/CD pipelines utilizing affected Hugo versions, potentially leading to unauthorized data exfiltration, local system compromise, or further lateral movement within build environments.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade Hugo to version 0.165.0 or later immediately to remove TailwindCSS from the default execution allow-list.</li>
<li>Audit projects, especially those utilizing third-party themes, modules, or templates, for the presence of suspicious code within 'tailwind.config.js'.</li>
<li>Implement build process monitoring to alert on anomalous child processes (e.g., shells or network tools) spawned by build-time Node.js processes.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category></item></channel></rss>