Path Traversal in Go-Acme Lego
CVE-2026-40611
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.004 · 36.7th percentile
- Published
- 2026-04-21
What to do
- Fixed in
4.34.0- Affected
- 1 affected product
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 36.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Go-Acme Lego — versions < 4.34.0