Directory Traversal Affecting sftpgo package, versions <2.7.1-r8


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-SFTPGO-16134585
  • published23 Apr 2026
  • disclosed21 Apr 2026

Introduced: 21 Apr 2026

CVE-2026-40611  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Wolfi sftpgo to version 2.7.1-r8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sftpgo package and not the sftpgo package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.