Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
Related vulnerabilities
JLSEC-2026-793 (CVE-2026-44301)
Vulnerability from osv_julia – Published: 2026-07-25 03:41 – Updated: 2026-07-25 03:41 – Source website
VLAI
Summary
Hugo's Node tool execution allows file system access outside the project directory
Details
Impact
When building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory.
Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected.
Patches
From v0.161.0, Hugo runs Node tools under Node's permission model with strict defaults: No write access and only read access to the site source directories and files.
Workarounds
Block these tools in security.exec.allow.
Severity
References
{
"affected": [
{
"package": {
"ecosystem": "Julia",
"name": "Hugo_jll",
"purl": "pkg:julia/Hugo_jll?uuid=c8420254-0ddf-5525-a2d3-3ad9242def7d"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.163.3+0"
}
],
"type": "SEMVER"
}
]
}
],
"credits": [
{
"contact": [
"https://github.com/Gokul965"
],
"name": "Gokul965",
"type": "REPORTER"
},
{
"contact": [
"https://github.com/banhcuon79"
],
"name": "banhcuon79",
"type": "REPORTER"
},
{
"contact": [
"https://github.com/jmooring"
],
"name": "jmooring",
"type": "REPORTER"
}
],
"database_specific": {
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44301",
"id": "CVE-2026-44301",
"imported": "2026-07-24T13:46:36.633Z",
"modified": "2026-06-17T10:50:27.980Z",
"published": "2026-05-12T22:16:36.843Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-44301"
},
{
"html_url": "https://github.com/advisories/GHSA-x597-9fr4-5857",
"id": "GHSA-x597-9fr4-5857",
"imported": "2026-07-24T13:46:47.945Z",
"modified": "2026-05-13T16:42:58Z",
"published": "2026-05-06T20:59:23Z",
"url": "https://api.github.com/advisories/GHSA-x597-9fr4-5857"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-29862",
"id": "EUVD-2026-29862",
"imported": "2026-07-24T13:46:37.731Z",
"modified": "2026-05-13T12:13:13Z",
"published": "2026-05-12T21:37:52Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-29862"
}
]
},
"details": "## Impact\n\nWhen building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project\u0027s working directory.\n\nUsers who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected.\n\n## Patches\n\nFrom `v0.161.0`, Hugo runs Node tools under Node\u0027s permission model with strict defaults: No write access and only read access to the site source directories and files.\n\n## Workarounds\n\nBlock these tools in [security.exec.allow](https://gohugo.io/configuration/security/).",
"id": "JLSEC-2026-793",
"modified": "2026-07-25T03:41:43.685Z",
"published": "2026-07-25T03:41:43.685Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/advisories/GHSA-x597-9fr4-5857"
},
{
"type": "WEB",
"url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44301"
}
],
"schema_version": "1.8.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"source": "CNA",
"type": "CVSS_V4"
}
],
"summary": "Hugo\u0027s Node tool execution allows file system access outside the project directory",
"upstream": [
"CVE-2026-44301",
"GHSA-x597-9fr4-5857",
"EUVD-2026-29862"
]
}