Skip to content
8.8 High

CVE-2026-40611 Let's Encrypt client and ACME library written in Go (Lego)

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.

Affected products and versions

Product Affected versions Fixed in
lego 4.34 earliest → < 4.34.0 4.34.0
Red Hat OpenShift Dev Spaces 3.28 1779786779 earliest → < 1779786779 1779786779

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of lego →
Track this CVE