Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40611: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go-acme lego

0
High
VulnerabilityCVE-2026-40611cvecve-2026-40611cwe-22
Published: Tue Apr 21 2026 (04/21/2026, 17:58:35 UTC)
Source: CVE Database V5
Vendor/Project: go-acme
Product: lego

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 18:16:04 UTC

Technical Analysis

The go-acme lego client, used for Let's Encrypt ACME challenges, contains a path traversal vulnerability (CWE-22) in its webroot HTTP-01 challenge provider prior to version 4.34.0. An attacker controlling an ACME server can craft challenge tokens containing '../' sequences that cause the lego client to write or delete files outside the intended directory, anywhere writable by the lego process. This can lead to arbitrary file write and deletion, impacting confidentiality, integrity, and availability. The issue is resolved in lego version 4.34.0.

Potential Impact

Successful exploitation allows an attacker controlling an ACME server to write or delete arbitrary files on the system where lego runs, limited to paths writable by the lego process. This can lead to full compromise of the affected system's data confidentiality, integrity, and availability. The CVSS score of 8.8 reflects the high impact and network attack vector with no privileges required but user interaction needed.

Mitigation Recommendations

Upgrade the go-acme lego client to version 4.34.0 or later, where this path traversal vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 4.34.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-14T14:07:59.642Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e7bb7219fe3cd2cdedac91

Added to database: 4/21/2026, 6:01:22 PM

Last enriched: 4/21/2026, 6:16:04 PM

Last updated: 4/21/2026, 7:56:57 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses