Skip to main content
VulnerabilityPublished Updated

CVE-2025-54799: 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-2025-54799· Low 2.3

Not known to be exploited · CVSS 2.3 Low · fixed in 4.25.2 : update golang-github-xenolf-lego when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.25.2
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Aug 2025

  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). In versions 4.25.1 and below, the github.com/go-acme/lego/v4/acme/api package (thus the lego library and the lego cli as well) don't enforce HTTPS when talking to CAs as an ACME client. Unlike the http-01 challenge which solves an ACME challenge over unencrypted HTTP, the ACME protocol requires HTTPS when a client communicates with the CA to performs ACME functions. However, the library fails to enforce HTTPS both in the original discover URL (configured by the library user) and in the subsequent addresses returned by the CAs in the directory and order objects. If users input HTTP URLs or CAs misconfigure endpoints, protocol operations occur over HTTP instead of HTTPS. This compromises privacy by exposing request/response details like account and request identifiers to network attackers. This was fixed in version 4.25.2.

References

Community reviews

Loading reviews…