CVE-2024-37897
MEDIUM 5.4CVSS 3.1SFTPGo has insufficient access control for password reset
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.
- Published
- 20 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-287CWE-863
- Also known as
- GHSA-hw5f-6wvv-xcrhGO-2024-2940
- Sources
- NVDJSONOSV GHSA-hw5f-6wvv-xcrhJSONOSV GO-2024-2940JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/drakkan/sftpgo/v2 | >= 2.2.0, < 2.6.1 | 2.6.1 |
| OSV | Go | github.com/drakkan/sftpgo | all versions |
References
- https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423 · WEB, FIX
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-37897 · ADVISORY
- https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583 · WEB, FIX
- https://github.com/drakkan/sftpgo · PACKAGE
- https://github.com/drakkan/sftpgo/releases/tag/v2.6.1 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jun 2024)