SCA: security update for github.com/gohugoio/hugo (GHSA-fw87-fv5r-9fpw)

medium Tenable Self-Hosted Container Security Plugin ID 443345

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made RootMappingFs.statRoot use
Stat (follows symlinks) instead of Lstat , so a direct resources.Get of a symlink pointing outside its
mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored themes/
theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped)
and directory walks were unaffected. Fixed in 0.162.0. (CVE-2026-50135)

Solution

Update the github.com/gohugoio/hugo library and its related packages to version 0.162.0 or later.

See Also

https://github.com/advisories/GHSA-fw87-fv5r-9fpw

Plugin Details

Severity: Medium

ID: 443345

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/17/2026

Updated: 7/7/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.75

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-50135

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 4.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/16/2026

Vulnerability Publication Date: 6/16/2026

Reference Information

CVE: CVE-2026-50135

cwe: CWE-59