# CVE-2025-54799: golang-github-xenolf-lego: Let's Encrypt client and ACME library written in Go (Lego)

CVE-2025-54799 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-54799, released August 7, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-54799
- Priority: Routine
- CVSS: n/a
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 7, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-github-xenolf-lego Debian 14 | 4.35.2-1 | [DEBIAN-CVE-2025-54799](https://patchblox.com/security/data/fix/linux/debian-cve-2025-54799.md) | Aug 7, 2025 |
| Linux | govulncheck-vulndb opensuse-leap 15.6 | 0.0.20250814T182633-150000.1.98.1 | [SUSE-SU-2025:02912-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02912-1.md) | Aug 19, 2025 |
| Linux | govulncheck-vulndb sles 15.6 | 0.0.20250814T182633-150000.1.98.1 | [SUSE-SU-2025:02912-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02912-1.md) | Aug 19, 2025 |

---

Data as of 2026-11-10T07:50:38Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
