Live threats

All CVEs / drakkan

CVE-2024-52309drakkan sftpgo

Medium 5.1

Priority
31
CVSS 4.0
5.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 57
Auth required
Yes
Published
Nov 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. One powerful feature of SFTPGo is the ability to have the EventManager execute scripts or run applications in response to certain events. This feature is very common in all software similar to SFTPGo and is generally unrestricted. However, any SFTPGo administrator with permission to run a script has access to the underlying OS/container with the same permissions as the user running SFTPGo. This is unexpected for some SFTPGo administrators who think that there is a clear distinction between accessing the system shell and accessing the SFTPGo WebAdmin UI. To avoid this confusion, running system commands is disabled by default in 2.6.3, and an allow list has been added so that system administrators configuring SFTPGo must explicitly define which commands are allowed to be configured from the WebAdmin UI.

Original NVD text.

What to do

  1. Apply the vendor's security update for sftpgo.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/drakkan/sftpgo all no fixed version —
Go github.com/drakkan/sftpgo/v2 ≥ 2.4.0 < 2.6.3 2.6.3 go get github.com/drakkan/sftpgo/v2@v2.6.3
Go github.com/drakkan/sftpgo/v2 ≥ 2.4.0 < 2.6.3 2.6.3 go get github.com/drakkan/sftpgo/v2@v2.6.3
Go sftpgo ≥ 2.4.0 < 2.6.3 2.6.3 go get sftpgo@v2.6.3

Per OSV / GitHub Advisories (GO-2024-3283, GHSA-49cc-xrjf-9qf7). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.