8.8

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

Deferred
AliasesUBUNTU-CVE-2026-40611DEBIAN-CVE-2026-40611CGA-485j-5hvf-g3fg
Published 21-04-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-40611 is a high (CVSS 8.8) Path Traversal vulnerability in go-acme lego. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 44.9% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.55%
0%100%
Low · +0.21 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 21-04-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Increase +0.21 pp

From 0.34% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard7 products
  • sftpgo< 2.7.1-r8
  • traefik-2.11< 2.11.44-r0
  • traefik-3.5All versions (No fix recorded)
  • traefik-3.6< 3.6.13-r2
  • traefik-fips-2.11< 2.11.44-r0
Github.com/go-acme/lego2 products
  • v3≤ 3.9.0
  • v4< 4.34.0
Wolfi2 products
  • sftpgo< 2.7.1-r8
  • traefik-3.6< 3.6.13-r2
Debian1 product
  • golang-github-xenolf-legoAll versions (No fix recorded) | < 4.35.2-1
Github.com/go-acme1 product
  • lego≤ 2.7.2
Go-acme1 product
Ubuntu1 product
  • golang-github-xenolf-legoAll versions (No fix recorded)

7 vendors · 15 products

References

11 links
Show all 11 references