cve.bz

CVE-2026-40611

8.8 highEPSS 0.3%

Let's Encrypt client and ACME library written in Go (Lego). Prior to 4.34.0, the webroot HTTP-01 challenge provider in lego is vulnerable to arbitrary file write and deletion via path traversal. A malicious ACME server can supply a crafted challenge token containing ../ sequences, causing lego to write attacker-influenced content to any path writable by the lego process. This vulnerability is fixed in 4.34.0.

CVSS 3.1
8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-26)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qqx8-2xmm-jrv8Gogithub.com/go-acme/lego/v4<4.34.04.34.0
GHSA-qqx8-2xmm-jrv8Gogithub.com/go-acme/lego/v3<=3.9.0no fix published
GHSA-qqx8-2xmm-jrv8Gogithub.com/go-acme/lego<=2.7.2no fix published
GO-2026-5593Gogithub.com/go-acme/lego/v4<4.34.04.34.0

References

Check your stackJSON