Skip to content
Heist/ feed
Back to feed
Medium

Insufficient access control for password reset in sftpgo

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-37897
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 08:48 UTC · Revision 1

Source evidence

Insufficient access control for password reset in sftpgo

core-osv · Original source

Published 20 Jun 2024, 17:32 UTC

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.

osv:CVE-2024-37897
Complete source record
{
  "id": "b23106a1d213ced31dadd198b24d75c41dddac50321df32d0eea533358e2d600",
  "url": "https://osv.dev/vulnerability/CVE-2024-37897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insufficient access control for password reset in sftpgo",
    "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.",
    "evidence": "osv:CVE-2024-37897",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-37897",
      "aliases": [
        "CVE-2024-37897",
        "GHSA-hw5f-6wvv-xcrh",
        "GO-2024-2940"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drakkan/sftpgo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b6bcf0cd94fa7e87000f358350e99756f86d6418"
                },
                {
                  "fixed": "c8e8fd5b25202dad116f41dbb62716bd652f1e7d"
                },
                {
                  "fixed": "1f8ac8bfe16100b0484d6c91e1e8361687324423"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.6.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1f8ac8bfe16100b0484d6c91e1e8361687324423"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37897.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.576441101Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37897.json",
        "https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-37897",
        "https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37897.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-37897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518801,
  "published_at": "2024-06-20T17:32:52.623+00:00"
}