CVE-20XX-?

CVE-2026-58403

5.9 MEDIUM 0.5% exploit odds Fix listed Other

What it is

Hugo is a static site generator. From v0.123.0 through v0.163.0, Hugo's virtual filesystem is designed so that files under a mount cannot reach outside the mount tree, but a regression caused RootMappingFs.statRoot to call Stat, which follows symlinks, instead of Lstat, so a direct os.ReadFile "somefile" where somefile was a symlink pointing outside the mount would return the target's contents. This effectively let a symlink planted inside a theme or local mount read arbitrary files reachable to the user running hugo. This issue is fixed in v0.163.1.

At a glance

Exploitability
Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure.
Exploit odds
0.5% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.5% · EPSS, next 30 days
Weakness
CWE-59
Record status
Analyzed

Affected

Attack profile CVSS 4.0 · 5.9

Attack vector
Network
Complexity
Low
Attack requirements
Present
Privileges needed
None
User interaction
Active
Confidentiality
High
Integrity
None
Availability
None
Raw vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/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

Meme: I wake up, CVE-2026-58403
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record