6.9

CVE-2026-50135: gohugo hugo Link Following

CVSS: 6.9v4.0MediumAnalyzed
AliasesUBUNTU-CVE-2026-50135DEBIAN-CVE-2026-50135GHSA-fw87-fv5r-9fpw
Published 06-07-2026Last modified 07-07-2026

Vulnerability summary

CVE-2026-50135 is a medium (CVSS 6.9) Link Following vulnerability in gohugo hugo. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.1% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.41%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 06-07-2026
    PublishedVulnerability first disclosed.
  2. 07-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

0.00 pp

From 0.41% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.41%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • hugoAll versions (No fix recorded) | < 0.162.1-1
Github.com/gohugoio1 product
  • hugo≥ 0.123.0, < 0.162.0
Gohugo1 product
  • hugo≥ 0.123.0, < 0.161.1
Gohugoio1 product
  • hugo≥ 0.123.0, < 0.162.0
Ubuntu1 product
  • hugoAll versions (No fix recorded)

5 vendors · 5 products

References

7 links