# CVE-2024-37897: Insufficient access control for password reset in sftpgo

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-06-20T16:11:48.000Z
- Modified: 2026-09-10T03:50:15.638Z
- Also known as: GHSA-hw5f-6wvv-xcrh, GO-2024-2940
- Weaknesses: CWE-287, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- drakkan sftpgo: >= 2.2.0, < 2.6.1
- sftpgo_project sftpgo: from 2.2.0 before 2.6.1
- github.com/drakkan/sftpgo/v2 (Go): from 2.2.0 before 2.6.1
- github.com/drakkan/sftpgo (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh> (advisory, web)
- <https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37897> (advisory)
- <https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583> (fix, web)
- <https://github.com/drakkan/sftpgo> (package)
- <https://github.com/drakkan/sftpgo/releases/tag/v2.6.1> (web)

## Sources

- CVE List: [CVE-2024-37897](https://www.cve.org/CVERecord?id=CVE-2024-37897), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-hw5f-6wvv-xcrh](https://github.com/advisories/GHSA-hw5f-6wvv-xcrh), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2940](https://pkg.go.dev/vuln/GO-2024-2940), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-37897](https://nvd.nist.gov/vuln/detail/CVE-2024-37897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37897 · Whole record: https://cve.day/CVE-2024-37897.json · Rebuilt by cve.day 2026-11-25T22:58:42.083Z
