SCA: security update for github.com/go-acme/lego/v4 (GHSA-qqx8-2xmm-jrv8)

high Tenable Self-Hosted Container Security Plugin ID 440918

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-40611)

Solution

Update the github.com/go-acme/lego/v4 library and its related packages to version 4.34.0 or later.

See Also

https://github.com/advisories/GHSA-qqx8-2xmm-jrv8

Plugin Details

Severity: High

ID: 440918

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 4/27/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40611

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/16/2026

Vulnerability Publication Date: 4/16/2026

Reference Information

CVE: CVE-2026-40611

cwe: CWE-22