VDB
KO

GO-2026-5146

SFTP root escape via prefix-based path validation in goshs in github.com/patrickhener/goshs

Details

SFTP root escape via prefix-based path validation in goshs 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: 0

No 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: 0 Fixed in: 2.0.0
Fix go get github.com/patrickhener/goshs/v2@v2.0.0

References