CVE-2024-37897: SFTPGo has insufficient access control for password reset
Impact 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. Patches Fixed in v2.6.1. Workarounds The following workarounds are available: - keep the password reset feature disabled.
Published Jun 20, 2024 · Updated Aug 8, 2024
Affected packages
github.com/drakkan/sftpgo/v2
- Ecosystem
- Go
- Affected
- >= 2.2.0, < 2.6.1
- Fixed in
- 2.6.1
- Check
go list -m github.com/drakkan/sftpgo/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
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.
Patches
Fixed in v2.6.1.
Workarounds
The following workarounds are available:
- keep the password reset feature disabled.
- 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.
Credited to t7tran.
References
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh
- https://github.com/drakkan/sftpgo/releases/tag/v2.6.1
- https://github.com/drakkan/sftpgo/commit/3462bba3f41cbc75486474991b9e3ac1b5f1e583
- https://nvd.nist.gov/vuln/detail/CVE-2024-37897
- https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423
- https://github.com/advisories/GHSA-hw5f-6wvv-xcrh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-103028
SFTPGo source-side file-pattern filter bypass during copy operations
medium4.3Oct 15, 2026CVE-2026-77375
SFTPGo: Denial of service via malformed SSH channel request
medium6.5Oct 15, 2026CVE-2026-49244
SFTPGo has path confinement bypass in public browsable share partial ZIP download
medium5.9Jul 2, 2026CVE-2026-49245
SFTPGo has stored XSS via inline parameter on public shares and user file download
low3.7Jul 2, 2026CVE-2026-30914
SFTPGo Vulnerable to Path Traversal and Permission Bypass via Path Normalization Discrepancy
medium5.3No fixMar 13, 2026CVE-2026-30915
SFTPGo improperly sanitizes placeholders in group home directories/key prefixes
medium6.9Mar 13, 2026
