2.3

CVE-2025-54799: Lego does not enforce HTTPS

Deferred
AliasesUBUNTU-CVE-2025-54799DEBIAN-CVE-2025-54799CGA-73w3-mwq3-m738
Published 07-08-2025Last modified 07-08-2025

Vulnerability summary

CVE-2025-54799 is a low (CVSS 2.3) vulnerability in go-acme lego. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.3% of scored vulnerabilities.

Overall risk
9/100
0100
Minimal · default modelHow is this calculated?
CVSS score
2.3/10
010
Low · v4.0 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 11

Timeline

  1. 07-08-2025
    PublishedVulnerability first disclosed.
  2. 07-08-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard9 products
  • sftpgo< 2.6.6-r8
  • terraform-provider-acme< 2.35.0-r1
  • terraform-provider-acme-fips< 2.35.0-r1
  • traefik-2.11< 2.11.28-r1
  • traefik-3.3< 3.3.7-r6
Wolfi4 products
  • sftpgo< 2.6.6-r8
  • terraform-provider-acme< 2.35.0-r1
  • traefik-3.3< 3.3.7-r6
  • traefik-3.4< 3.4.5-r1
Github.com/go-acme/lego2 products
  • v3≤ 4.25.1
  • v4< 4.25.2
Debian1 product
  • golang-github-xenolf-legoAll versions (No fix recorded) | < 4.35.2-1
Github.com/go-acme1 product
  • lego≤ 4.25.1
Go-acme1 product
Ubuntu1 product
  • golang-github-xenolf-legoAll versions (No fix recorded)

7 vendors · 19 products

References

8 links