Get real-time updates on Telegram
CVE-2026-140395: hugo 0.56.0 to before 0.170.0
CVE-2026-140395. CVSS 3.1 base score 7.5 (HIGH, Vendor/CNA). EPSS 0.00785 (percentile 0.57293), scored 02-Dec-2026.
Affected technology
hugo · 0.56.0 to before 0.170.0
gohugoio
Description’s affected range: before 0.170.0
Component: Not specified by the source
Attack conditions (Vendor/CNA, CVSS 4.0): Network (remote) · No privileges required · No user interaction required
What an attacker can do
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. Vendor/CNA’s CVSS 4.0 assessment (base score 8.7/10) rates confidentiality impact as high; integrity and availability impact as none.
- CWE
- CWE-22
- CCR priority
- 30.2 /100 (P4)
- CVSS 3.1
- 7.5 /10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · Vendor/CNA
- EPSS
- 0.00785 · percentile 0.57293 · 2026-12-02
- KEV
- no
Provenance
- FIRST EPSS daily exploit-probability · Source record · observed 2026-12-03 06:26:59.629939+00:00 UTC
- GitHub Advisory Database · Source record · observed 2026-12-01 21:27:39.186427+00:00 UTC
- NVD CVE API 2.0 · Source record · observed 2026-12-03 04:16:36.149314+00:00 UTC
Stable permalink: https://cybercodered.org/item/cve-cve-2026-140395.html