Skip to content
Heist/ feed
Back to feed
Medium

SFTPGo: Path confinement bypass in public browsable share partial ZIP download

Type: advisorySources: OSV

SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the public web-client partial ZIP download endpoint for a browsable share validates client-supplied files entries with a raw byte-prefix comparison rather than a directory-boundary-aware check. An unauthenticated requester who can reach a public share can select a canonical path outside the shared directory when the target path begins with the shared directory's name, such as a sibling path that shares the same prefix. The endpoint then includes the out-of-scope file in the generated download, disclosing its contents. This issue is fixed in version 2.7.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-49244
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 00:56 UTC · Revision 1

Source evidence

SFTPGo: Path confinement bypass in public browsable share partial ZIP download

core-osv · Original source

Published 20 Aug 2026, 21:53 UTC

SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the public web-client partial ZIP download endpoint for a browsable share validates client-supplied files entries with a raw byte-prefix comparison rather than a directory-boundary-aware check. An unauthenticated requester who can reach a public share can select a canonical path outside the shared directory when the target path begins with the shared directory's name, such as a sibling path that shares the same prefix. The endpoint then includes the out-of-scope file in the generated download, disclosing its contents. This issue is fixed in version 2.7.3.

osv:CVE-2026-49244
Complete source record
{
  "id": "9aa34987ea0b6c93e2d862f1f26969e0d3f7ec21d15eaf097eafaba10abc11f4",
  "url": "https://osv.dev/vulnerability/CVE-2026-49244",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SFTPGo: Path confinement bypass in public browsable share partial ZIP download",
    "summary": "SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the public web-client partial ZIP download endpoint for a browsable share validates client-supplied files entries with a raw byte-prefix comparison rather than a directory-boundary-aware check. An unauthenticated requester who can reach a public share can select a canonical path outside the shared directory when the target path begins with the shared directory's name, such as a sibling path that shares the same prefix. The endpoint then includes the out-of-scope file in the generated download, disclosing its contents. This issue is fixed in version 2.7.3.",
    "evidence": "osv:CVE-2026-49244",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-49244",
      "aliases": [
        "CVE-2026-49244",
        "GHSA-h64p-8h4r-6gfh",
        "GO-2026-5902"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/drakkan/sftpgo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a779e504484592d88f510ce7952f4fa18b671e21"
                },
                {
                  "fixed": "52a56584c417e325aea35ab23849422a90ba512f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.7.3"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "52a56584c417e325aea35ab23849422a90ba512f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a779e504484592d88f510ce7952f4fa18b671e21"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.7.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.7.1",
            "v2.7.0",
            "v2.6.0",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0",
            "v2.1.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "0.9.6",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49244.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.097451696Z",
      "provider": "osv",
      "references": [
        "https://github.com/drakkan/sftpgo/releases/tag/v2.7.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49244.json",
        "https://github.com/drakkan/sftpgo/security/advisories/GHSA-h64p-8h4r-6gfh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-49244",
        "https://github.com/drakkan/sftpgo/commit/52a56584c417e325aea35ab23849422a90ba512f"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": ">= 2.2.0 < 2.7.2"
                  },
                  {
                    "last_affected": ">= 2.2.0 < 2.7.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49244.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-49244",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508779,
  "published_at": "2026-08-20T21:53:12.098+00:00"
}