CVE-2026-40611CWE-22

Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider

High · published April 21, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
45.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00546 · 45.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-21T17:58Z
EPSS history
Timeline
  • 21 APR 17:58Z
    Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider
    cvelistv5