CVE-2026-40611
HIGH 8.8CVSS 3.1ACME Lego: Arbitrary File Write via Path Traversal in Webroot HTTP-01 Provider
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.
- Published
- 21 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-qqx8-2xmm-jrv8GO-2026-5593
- Sources
- NVDJSONOSV GHSA-qqx8-2xmm-jrv8JSONOSV GO-2026-5593JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/go-acme/lego/v4 | < 4.34.0 | 4.34.0 |
| OSV | Go | github.com/go-acme/lego/v3 | <= 3.9.0 | |
| OSV | Go | github.com/go-acme/lego | <= 2.7.2 |
References
- https://github.com/go-acme/lego/security/advisories/GHSA-qqx8-2xmm-jrv8 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/security/cve/CVE-2026-40611
- https://bugzilla.redhat.com/show_bug.cgi?id=2460233
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40611.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-40611 · ADVISORY
- https://github.com/go-acme/lego · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 21 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Apr 2026)