Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-h64p-8h4r-6gfh: SFTPGo has path confinement bypass in public browsable share partial ZIP download

0
Medium
Published: 07/02/2026 (07/02/2026, 19:09:13 UTC)
Source: GCVE Database
Product: github.com/drakkan/sftpgo/v2

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Goghsa
github.com/drakkan/sftpgo/v2
Affected versions
>=2.2.0 <2.7.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:14:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses