All reports
Medium

SFTPGo source-side file-pattern filter bypass during copy operations

Affected versions

Version ranges need review.

Affected versions
>=2.5.0 <2.7.6
Fixed version
2.7.6
Affected versions
>= 2.5.0, <= 2.7.5
Fixed version
2.7.6
Affected versions
*
Fixed version
Not reported

Exploitation

CVE-2026-103028

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-18

Description

Summary

File pattern filters (denied_patterns / allowed_patterns) were evaluated on the destination of a copy only. A user holding the copy permission could copy a file denied by the filters to a permitted name and then read it. A recursive directory copy reproduced the contents of a restricted directory under a path where the filters do not deny them, and the hide policy was affected in the same way: a file reported as missing by stat and by directory listings could still be copied.

Details

An authenticated user can read the contents of files that the file pattern filters are configured to deny them. Nothing else is bypassed: the home directory, the virtual folder layout and the per-directory permissions are all still enforced, and both ends of the copy are paths the account can already reach. No access to other accounts and no administrative capability.

Links

Credits

  • arpitjain099