CVE-2026-58403: Hugo is a static site generator
CVE-2026-58403 is a medium-severity flaw (CVSS 6.5) affecting hugo. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 them
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 59%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2026-07-06 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-58403?
hugo: upgrade to 0.163.1. Exact commands for each OS are on this page.
Is CVE-2026-58403 being exploited?
CVE-2026-58403 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-58403 affect?
CVE-2026-58403 affects hugo. Severity is medium (CVSS 6.5). 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 follo
How urgent is CVE-2026-58403?
Priority 33/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-50134 MEDIUM 5.8 UPGRADE Hugo is a static site generator
- CVE-2026-58404 MEDIUM 6.8 UPGRADE Hugo is a static site generator
- CVE-2026-50133 MEDIUM 6.1 UPGRADE Hugo is a static site generator
- CVE-2026-50135 MEDIUM 5.5 UPGRADE Hugo is a static site generator
- CVE-2026-58402 MEDIUM 5.4 UPGRADE Hugo is a static site generator