Skip to main content
VulnerabilityPublished Updated

CVE-2026-40611: Golang github xenolf lego · Let's Encrypt client and ACME library written in Go (Lego)

Affects golang-github-xenolf-legoSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40611· High 8.8

Not known to be exploited · CVSS 8.8 High · fixed in 4.34.0 : patch golang-github-xenolf-lego soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.34.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=stonkingOther threatsAffected
  • =4.9.1-4
  • =4.35.2-3
Fixed in–
Ubuntu 26.04 LTSgolang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=resoluteOther threatsAffected
  • =4.9.1-2
  • =4.9.1-3
  • =4.9.1-4
Fixed in–
Ubuntu 25.10golang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=questingOther threatsAffected
  • =4.9.1-2
Fixed in–
Ubuntu Pro 24.04 LTSgolang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 4.9.1-1build1 – 4.9.1-2ubuntu0.24.04.3+esm2
8 affected builds
Fixed in–
Ubuntu 22.04 LTSgolang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=jammyOther threatsAffected
  • =3.2.0-3.1
  • =4.1.3-3ubuntu1
  • =4.1.3-3ubuntu1.22.04.1
Fixed in–
Ubuntu 20.04 LTSgolang-github-xenolf-legopkg:deb/ubuntu/golang-github-xenolf-lego?arch=source&distro=focalOther threatsAffected
  • =0.3.1-5
  • =2.7.2+dfsg-1
  • =3.2.0-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…