CYBER CODE RED

Get real-time updates on Telegram

P4

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.

Published

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

Stable permalink: https://cybercodered.org/item/cve-cve-2026-140395.html