# JLSEC-2026-793: Hugo's Node tool execution allows file system access outside the project directory

- Severity: High 8.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-25T03:41:43.685Z
- Modified: 2026-07-25T03:50:09.171Z
- Related: CVE-2026-44301, EUVD-2026-29862, GHSA-x597-9fr4-5857

## Description

## 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](https://gohugo.io/configuration/security/).

(As written by Julia Security Advisories.)

## Affected

- Hugo_jll (Julia): before 0.163.3+0

## Every score

- Julia Security Advisories: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Julia Security Advisories: CVSS:4.0 `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`

## References

- <https://github.com/advisories/GHSA-x597-9fr4-5857> (web)
- <https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44301> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-793](https://osv.dev/vulnerability/JLSEC-2026-793), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-793 · Whole record: https://cve.day/JLSEC-2026-793.json · Rebuilt by cve.day 2026-11-25T22:56:26.239Z
