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.
Project Subscriptions
No data.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qqx8-2xmm-jrv8 | ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 22 Apr 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-21T19:17:54.210Z
Reserved: 2026-04-14T14:07:59.642Z
Link: CVE-2026-40611
Updated: 2026-04-21T18:58:11.603Z
Status : Received
Published: 2026-04-21T18:16:52.457
Modified: 2026-04-21T20:16:59.990
Link: CVE-2026-40611
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA