Skip to main content
← All vulnerabilities
CVE-2026-40611GO-2026-5593GHSA-QQX8-2XMM-JRV8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.34.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • go-acme lego

    fixed in 4.34.0

  • github.com/go-acme/lego/v4Go

    fixed in 4.34.0

  • github.com/go-acme/lego/v3Go

    through 3.9.0

  • github.com/go-acme/legoGo

    through 2.7.2

References 1

GitHub · go-acme/lego