VDB
KO

GO-2026-5593

ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider in github.com/go-acme/lego

Quick fix

GO-2026-5593 — github.com/go-acme/lego/v4: upgrade to the fixed version with the command below.

go get github.com/go-acme/lego/v4@v4.34.0

Details

ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider in github.com/go-acme/lego

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/go-acme/lego/v4
Introduced in: 0 Fixed in: 4.34.0
Fix go get github.com/go-acme/lego/v4@v4.34.0

References