—
GO-2026-5303
goshs has an empty-username SFTP password authentication bypass in github.com/patrickhener/goshs
Quick fix
GO-2026-5303 — github.com/patrickhener/goshs/v2: upgrade to the fixed version with the command below.
go get github.com/patrickhener/goshs/v2@v2.0.0Details
goshs has an empty-username SFTP password authentication bypass in github.com/patrickhener/goshs
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/patrickhener/goshs
Introduced in:
0No fixed version published yet for github.com/patrickhener/goshs (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/patrickhener/goshs/v2
Introduced in:
0Fixed in: 2.0.0Fix
go get github.com/patrickhener/goshs/v2@v2.0.0