Advisory record · GHSA-qqx8-2xmm-jrv8

ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider

CVSS 8.8 HighEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 16 Apr 2026, 21:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/go-acme/lego/v4Go<4.34.04.34.0
github.com/go-acme/lego/v3Go<=3.9.0No fixed version yet
github.com/go-acme/legoGo<=2.7.2No fixed version yet
Identifiers
GHSA-qqx8-2xmm-jrv8 · CVE-2026-40611 · GO-2026-5593
Weakness (CWE)
CWE-22
Published
16 Apr 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Lego's webroot HTTP-01 provider in the Go packages github.com/go-acme/lego/v4 before 4.34.0 is vulnerable to path traversal. A malicious ACME server can supply a challenge token containing "../" sequences, causing lego to write or delete files outside the webroot directory. The source lists no fix for github.com/go-acme/lego/v3 (up to 3.9.0) or github.com/go-acme/lego (up to 2.7.2). Upgrade github.com/go-acme/lego/v4 to 4.34.0 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.