CVE-2025-54799 - CVE House
Back to Database
Status published Low CVE-2025-54799

Lego does not enforce HTTPS

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-54799

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

lego
Vulnerable Versions:
< 4.25.2

Timeline

Official Publish: August 7th, 2025
Last Modified: August 7th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)