GO-2026-5146

vendorUSosv

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

view advisory published 2026-06-25Licence: per source

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

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-40876UShigh8.8—
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP root escape caused by prefix-based path validation. An authenticated SFTP user can read fro…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan