CVE-2026-140395

HighCVSS 7.5/10Last modified Dec 2, 2026

Description

Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build host files by supplying '..' segments in _vendor/modules.txt import paths. Attackers can make Hugo treat any directory as a module root and use readFile or static mounts to publish secrets, credentials, and system files in the generated site.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
gohugoiohugo>= 0.56.0, < 0.170.0

References

Timeline

Published
Dec 1, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1403965.5Ghost from 1.0.0 before 6.76.0 contains a privilege escalation vulnerability that allows Administrators and import-capable integrations to cCVE-2026-1403975.3Ghost from 6.62.0 before 6.72.0 contains an information disclosure vulnerability that allows unauthenticated attackers to enumerate member eCVE-2026-1403983.1Ghost from 5.70.0 before 6.76.0 downloads protocol-relative imported media URLs over plaintext HTTP, allowing network attackers to tamper wiCVE-2026-1403996.5Ghost from 5.26.0 before 6.76.0 contains a denial of service vulnerability in the Revue importer that keeps the Ghost process busy when procCVE-2026-14046.1The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vCVE-2026-140408.8Use after free in BrowserTag in Google Chrome prior to 150.0.7871.47 allowed an attacker who convinced a user to install a malicious extensiCVE-2026-1404005.3Ghost from 5.9.0 before 6.76.0 contains an information disclosure vulnerability that allows unauthenticated visitors to infer content of delCVE-2026-1404014.3Ghost from 4.22.2 before 6.76.0 contains an improper authorization vulnerability that allows any staff user, including Contributors, to replCVE-2026-1404024.3Ghost from 5.77.0 before 6.76.0 contains an improper authorization vulnerability that allows staff users without member access to read revenCVE-2026-1404036.5Ghost before 6.77.0 contains a denial of service vulnerability in its bundled express-hbs theme renderer, where rendering a page containing CVE-2026-1404045.3Ghost before 6.77.0 contains a brute-force protection bypass vulnerability that allows unauthenticated visitors to guess private site accessCVE-2026-1404055.3Ghost from 5.109.0 before 6.77.0 contains an information disclosure vulnerability that allows unauthenticated visitors to read members-only
CVE-2026-140395: High severity, CVSS 7.5 | Vulnix