Live threats

All CVEs / go-acme

CVE-2026-40611go-acme lego

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
—
Auth required
No
Published
Apr 21, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Let's Encrypt client and ACME library written in Go (Lego). Prior to 4.34.0, the webroot HTTP-01 challenge provider in lego is vulnerable to arbitrary file write and deletion via path traversal. A malicious ACME server can supply a crafted challenge token containing ../ sequences, causing lego to write attacker-influenced content to any path writable by the lego process. This vulnerability is fixed in 4.34.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for lego.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-acme/lego ≤ 2.7.2 no fixed version —
Go github.com/go-acme/lego/v3 ≤ 3.9.0 no fixed version —
Go github.com/go-acme/lego/v4 < 4.34.0 4.34.0 go get github.com/go-acme/lego/v4@v4.34.0
Go github.com/go-acme/lego/v4 < 4.34.0 4.34.0 go get github.com/go-acme/lego/v4@v4.34.0

Per OSV / GitHub Advisories (GHSA-qqx8-2xmm-jrv8, GO-2026-5593). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.