CVE-2024-37897 json
Insufficient access control for password reset in sftpgo
published 2024-06-20 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2079 , GHSA-hw5f-6wvv-xcrh , GO-2024-2940
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/drakkan/sftpgo/v2 2.6.1
- sftpgo_project sftpgo 2.6.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/drakkan/sftpgo/v2 | >=2.2.0, <2.6.1 |
2.6.1 |
| go | github.com/drakkan/sftpgo | all versions |
no fix listed |
Affected products
- drakkan sftpgo
- sftpgo_project sftpgo
Classification
References
-
github.com
/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423
web, patch
-
github.com
/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583
web, patch
-
github.com
/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-37897
advisory
-
github.com
/drakkan/sftpgo
package
-
github.com
/drakkan/sftpgo/releases/tag/v2.6.1
web
Sources
- CVE List CVE-2024-37897
- GitHub Advisory GHSA-hw5f-6wvv-xcrh
- NVD CVE-2024-37897
- OSV GO-2024-2940
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.