CVSS 4.0
5.3 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NMedium (5.3) in gohugo hugo. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/gohugoio/hugo 0.159.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:Ngithub.com/gohugoio/hugo (Go): fixed in 0.159.2Explain CVE-2026-35166 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-35166?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-35166?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-35166 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gohugo:hugo | from 0.60.0 before 0.159.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mcv8-8m8x-48pg | Go | github.com/gohugoio/hugo | >=0.60.0 <0.159.2 | 0.159.2 |
| GO-2026-5504 | Go | github.com/gohugoio/hugo | >=0.60.0 <0.159.2 | 0.159.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | hugo | no fix listed | DEBIAN-CVE-2026-35166 |
| Debian | 14 | hugo | 0.159.2-1 | DEBIAN-CVE-2026-35166 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | hugo | no fix listed | UBUNTU-CVE-2026-35166 |
| Red Hat | hummingbird:1 | hugo | 0:0.160.1-2.hum1 | RHSA-2026:7848 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
To mitigate this issue, ensure that all markdown content processed by Hugo originates from trusted sources. Alternatively, implement custom render hooks for links and images within Hugo to ensure proper escaping, as this configuration prevents exploitation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | hugo-main-0.160.1-2.hum1 | Fixed 2026-04-13 | RHSA-2026:7848 |
| Red Hat Build of Kueue | kueue/kueue-must-gather-rhel9 | Fix deferred | |
| Red Hat Build of Kueue | kueue/kueue-operator-bundle | Fix deferred | |
| Red Hat Build of Kueue | kueue/kueue-rhel9 | Fix deferred | |
| Red Hat Build of Kueue | kueue/kueue-rhel9-operator | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Fix deferred | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/openstack-operator-bundle | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-35166.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.