CVE-2026-40611
Let's Encrypt client and ACME library written in Go (Lego). Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/go-acme/lego/security/advisories/GHSA-qqx8-2xmm-jrv8
- github.com/advisories/GHSA-qqx8-2xmm-jrv8
- nvd.nist.gov/vuln/detail/CVE-2026-40611
- access.redhat.com/errata/RHSA-2026:21772
- access.redhat.com/security/cve/CVE-2026-40611
- bugzilla.redhat.com/show_bug.cgi?id=2460233
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40611.json
- nvd.nist.gov/vuln/detail/CVE-2026-40611
- cve.org/CVERecord?id=CVE-2026-40611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.