CVE-2026-40611
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.8
CVSS: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)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qqx8-2xmm-jrv8 | Go | github.com/go-acme/lego/v4 | <4.34.0 | 4.34.0 |
| GHSA-qqx8-2xmm-jrv8 | Go | github.com/go-acme/lego/v3 | <=3.9.0 | no fix published |
| GHSA-qqx8-2xmm-jrv8 | Go | github.com/go-acme/lego | <=2.7.2 | no fix published |
| GO-2026-5593 | Go | github.com/go-acme/lego/v4 | <4.34.0 | 4.34.0 |