GHSA-h64p-8h4r-6gfh: SFTPGo has path confinement bypass in public browsable share partial ZIP download
SFTPGo versions from 2.2.0 up to but not including 2.7.3 contain a path confinement bypass vulnerability in the public web-client endpoint for partial ZIP downloads of browsable shares. This flaw allows an attacker who can access a public share to read files outside the intended shared directory if the target file's canonical path begins with the shared directory's name. The issue is fixed in version 2.7.3 by implementing a directory-boundary–aware check instead of a raw prefix check.
AI Analysis
Technical Summary
The vulnerability in SFTPGo's public web-client endpoint for partial ZIP downloads allows bypassing path confinement controls. The client-supplied file entries were not properly confined to the shared directory, enabling unauthorized reading of files outside the share directory when the canonical path starts with the shared directory's name. This is a directory traversal issue (CWE-22) affecting versions >=2.2.0 and <2.7.3. The problem was resolved in version 2.7.3 by replacing the raw prefix check with a directory-boundary–aware check.
Potential Impact
An unauthenticated attacker able to access a public share can read files outside the intended shared directory, potentially exposing sensitive information. The vulnerability does not affect integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Upgrade SFTPGo to version 2.7.3 or later, where the vulnerability is fixed. The fix involves a directory-boundary–aware check that properly confines file access to the shared directory. No other mitigation is indicated.
GHSA-h64p-8h4r-6gfh: SFTPGo has path confinement bypass in public browsable share partial ZIP download
Description
SFTPGo versions from 2.2.0 up to but not including 2.7.3 contain a path confinement bypass vulnerability in the public web-client endpoint for partial ZIP downloads of browsable shares. This flaw allows an attacker who can access a public share to read files outside the intended shared directory if the target file's canonical path begins with the shared directory's name. The issue is fixed in version 2.7.3 by implementing a directory-boundary–aware check instead of a raw prefix check.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in SFTPGo's public web-client endpoint for partial ZIP downloads allows bypassing path confinement controls. The client-supplied file entries were not properly confined to the shared directory, enabling unauthorized reading of files outside the share directory when the canonical path starts with the shared directory's name. This is a directory traversal issue (CWE-22) affecting versions >=2.2.0 and <2.7.3. The problem was resolved in version 2.7.3 by replacing the raw prefix check with a directory-boundary–aware check.
Potential Impact
An unauthenticated attacker able to access a public share can read files outside the intended shared directory, potentially exposing sensitive information. The vulnerability does not affect integrity or availability but has a high confidentiality impact.
Mitigation Recommendations
Upgrade SFTPGo to version 2.7.3 or later, where the vulnerability is fixed. The fix involves a directory-boundary–aware check that properly confines file access to the shared directory. No other mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h64p-8h4r-6gfh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-49244"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a46ecbb27e9c7971943cdee
Added to database: 07/02/2026, 22:56:59 UTC
Last enriched: 07/02/2026, 23:14:23 UTC
Last updated: 07/03/2026, 03:23:53 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.