hoch7.7
CVE-2026-40188
goshs is Missing Write Protection for Parametric Data Values
Auswirkung
goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/patrickhener/goshs | >= 1.0.7, <= 1.1.4 | nicht erfasst |
Betroffene Produkte · Goshs
| Produkt | Betroffene Versionen |
|---|---|
| Goshs | ab 1.0.7 vor 2.0.0 Version 2.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/patrickhener/goshs/commit/141c188ce270ffbec087844a50e5e695b7da7744
- https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4
- https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx
- https://github.com/advisories/GHSA-2943-crp8-38xx
- https://nvd.nist.gov/vuln/detail/CVE-2026-40188