CVE-2024-37897drakkan sftpgo
Medium 5.4
Follow: this CVE · drakkan · drakkan sftpgo We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- Yes
- Published
- Jun 20, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. SFTPGo WebAdmin and WebClient support password reset. This feature is disabled in the default configuration.
In SFTPGo versions prior to v2.6.1, if the feature is enabled, even users with access restrictions (e.g. expired) can reset their password and log in. Users are advised to upgrade to version 2.6.1. Users unable to upgrade may keep the password reset feature disabled or set a blank email address for users and admins with access restrictions so they cannot receive the email with the reset code and exploit the vulnerability.
What to do
- Apply the vendor's security update for sftpgo.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/drakkan/sftpgo |
all |
no fixed version | — |
| Go | github.com/drakkan/sftpgo/v2 |
≥ 2.2.0 < 2.6.1 |
2.6.1 |
go get github.com/drakkan/sftpgo/v2@v2.6.1 |
| Go | github.com/drakkan/sftpgo/v2 |
≥ 2.2.0 < 2.6.1 |
2.6.1 |
go get github.com/drakkan/sftpgo/v2@v2.6.1 |
Per OSV / GitHub Advisories (GO-2024-2940, GHSA-hw5f-6wvv-xcrh). Check the version in your lockfile before upgrading.
Affected products
- drakkan · sftpgo
- sftpgo_project · sftpgo
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.