ADVISORIES

Vulnerability

CVE-2026-40611

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.

21 advisories report this vulnerability, across 7 ecosystems.

Advisories in Go

  • GHSA-qqx8-2xmm-jrv8

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

    High CVE-2026-40611 Go Updated 10 September 2026
  • GO-2026-5593

    ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider in github.com/go-acme/lego

    CVE-2026-40611 Go Updated 24 July 2026

References