Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
go-acme lego < 4.25.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-xenolf-lego 4.35.2-1 —
Debian 13 golang-github-xenolf-lego No fix yet —
Debian 12 golang-github-xenolf-lego No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-xenolf-lego No fix yet —
Ubuntu 26.04 LTS golang-github-xenolf-lego No fix yet —
Ubuntu 25.10 golang-github-xenolf-lego No fix yet —
Ubuntu 22.04 LTS golang-github-xenolf-lego No fix yet —
Ubuntu 20.04 LTS golang-github-xenolf-lego No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-github-xenolf-lego No fix yet —
Ubuntu Pro 24.04 LTS golang-github-xenolf-lego No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250811T192933-1.1 openSUSE-SU-2025:15434-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sftpgo 2.6.6-r8 —
Wolfi rolling terraform-provider-acme 2.35.0-r1 —
Wolfi rolling traefik-3.3 3.3.7-r6 —
Wolfi rolling traefik-3.4 3.4.5-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/go-acme/lego <= 4.25.1 — GHSA-q82r-2j7m-9rv4
Go github.com/go-acme/lego/v3 <= 4.25.1 — GHSA-q82r-2j7m-9rv4
Go github.com/go-acme/lego/v4 < 4.25.2 4.25.2 GHSA-q82r-2j7m-9rv4

Advisories 2

References