Skip to main content
No exploitation reportedFix available

CVE-2026-50134

No exploitation reported by the sources we read.

  • Published2026-07-06
  • Fixed in0.162.0
  • WeaknessCWE-918

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0.

Timeline

dates in UTC
  1. 2026-07-0620:16CVE publishedNVD

Versions per branch

NVD · OSV
Gohugo hugo
BranchAffectedFixed in
0.x≥ 0.91.0, < 0.162.00.162.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • gohugoio hugo
    Affected
    • = >= 0.91.0, < 0.162.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-07-06

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • govulncheck-vulndbopenSUSE:Leap 16.0all versions · fixed in 0.0.20260723T184607-160000.1.1
  • hugoUbuntu:Pro:24.04:LTSall versions · no fixed version listed
  • hugoUbuntu:26.10all versions · no fixed version listed
  • hugoUbuntu:26.04:LTSall versions · no fixed version listed
  • hugoUbuntu:25.10all versions · no fixed version listed
  • hugoUbuntu:22.04:LTSall versions · no fixed version listed
  • hugoUbuntu:20.04:LTSall versions · no fixed version listed
  • hugoUbuntu:18.04:LTSall versions · no fixed version listed

5 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-50134 Red Hat Product Security3 products fixed

    github.com/gohugoio/hugo: Hugo: Security policy bypass via HTTP redirect manipulation

  • RHSA-2026:24577 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Full record on NVD

Fix

  1. Update Gohugo hugo to 0.162.0
  2. Vendor fix Red Hat Product Security CVE-2026-50134 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-07-07
  • CNACVSS 4.06.3known since 2026-10-26
  • NVDCVSS 3.15.8read 2026-10-26
  • CNAweakness (CWE)CWE-918known since 2026-10-26
  • FIRST EPSSEPSS score0.4 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2026-06-16

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/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
Published
2026-07-06
Last Modified
2026-10-25
NVD status
Analyzed
GitHub Advisory
GHSA-vxgm-5rmg-5w8g

Frequently asked questions

What is CVE-2026-50134?

Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0.

Is CVE-2026-50134 actively exploited?

Active exploitation of CVE-2026-50134 has not been confirmed. Its EPSS score was 0.4% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-50134?

CVE-2026-50134 has a CVSS v3 base score of 5.8 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N.

Running gohugoio/hugo? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record