CVE-2026-40611
Published:April 21, 2026
Updated:April 23, 2026
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.
Affected Packages
https://github.com/go-acme/lego.git (GITHUB):
Affected version(s) >=v0.1.0 <v4.34.0Fix Suggestion:
Update to version v4.34.0github.com/go-acme/lego (GO):
Affected version(s) >=v0.0.0-20151113192015-5f566d2e0cb3 <v4.34.0Fix Suggestion:
Update to version v4.34.0github.com/go-acme/lego/v3 (GO):
Affected version(s) >=v0.1.0 <v4.34.0Fix Suggestion:
Update to version v4.34.0github.com/go-acme/lego/v4 (GO):
Affected version(s) >=v0.1.0 <v4.34.0Fix Suggestion:
Update to version v4.34.0Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.05