VDB
Sign up
MEDIUM5.5

GO-2026-5380

Hugo: Symlink confinement bypass in resources.Get in github.com/gohugoio/hugo

Quick fix

GO-2026-5380 — github.com/gohugoio/hugo: upgrade to the fixed version with the command below.

go get github.com/gohugoio/hugo@v0.162.0

Details

Hugo: Symlink confinement bypass in resources.Get in github.com/gohugoio/hugo

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/gohugoio/hugo
Introduced in: 0.123.0Fixed in: 0.162.0
Fixgo get github.com/gohugoio/hugo@v0.162.0

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/gohugoio/hugo"]}'