PT-2026-33383

CVE-2026-40611

·

Published

2026-04-16

·

Updated

2026-10-31

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Lego versions prior to 4.34.0
Description The webroot HTTP-01 challenge provider in Lego is subject to arbitrary file write and deletion via path traversal. A malicious ACME server can provide a crafted challenge token containing ../ sequences, which the ChallengePath() function concatenates without validation. This allows the server to influence the file path, causing the software to write or delete content at any location writable by the Lego process. The issue occurs because the software fails to enforce the base64url alphabet constraint for ACME tokens as specified in RFC 8555. The vulnerable logic is present in the ChallengePath() function and the CleanUp() function.
Recommendations Update to version 4.34.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-QQX8-2XMM-JRV8
CLEANSTART-2026-DH42488
CLEANSTART-2026-KT84205
CLEANSTART-2026-UD05927
GO-2026-5593
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1
Found an issue in the description? Have something to add? Feel free to write us 👾