github.com/patrickhener/goshs
Go10 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting github.com/patrickhener/goshspage 1 of 1
- CVE-2025-46816CRITICALCVSS 9.4EG 9.4✓ Fixed in 1.0.52025-05-06
goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not check…
- CVE-2026-34581HIGHCVSS 8.1EG 8.12026-04-02
goshs is a SimpleHTTPServer written in Go. From version 1.1.0 to before version 2.0.0-beta.2, when using the Share Token it is possible to bypass the limited selected file download with all the gosh functionalities, including code exec. Th…
- CVE-2026-35392CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.1.5-0.20260401172448-237f3af891a92026-04-06
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, PUT upload in httpserver/updown.go has no path sanitization. This vulnerability is fixed in 2.0.0-beta.3.
- CVE-2026-35393CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.1.5-0.20260401172448-237f3af891a92026-04-06
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, the POST multipart upload directory not sanitized. This vulnerability is fixed in 2.0.0-beta.3.
- CVE-2026-35471CRITICALCVSS 9.8EG 9.8✓ Fixed in 1.1.5-0.20260401172448-237f3af891a92026-04-06
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, tdeleteFile() missing return after path traversal check. This vulnerability is fixed in 2.0.0-beta.3.
- CVE-2026-40188HIGHCVSS 7.7EG 7.72026-04-10
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 vulner…
- CVE-2026-40189CRITICALCVSS 9.8EG 9.82026-04-10
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.4, goshs enforces the documented per-folder .goshs ACL/basic-auth mechanism for directory listings and file reads, but it does not enforce the same authorization checks for sta…
- CVE-2026-40876HIGHCVSS 8.8EG 8.82026-04-21
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 from and write to filesystem paths outside the configured SFTP…
- CVE-2026-40884CRITICALCVSS 9.8EG 9.82026-04-21
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, gosh…
- CVE-2026-42091MEDIUMCVSS 6.5EG 6.52026-05-04
goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unc…
Check whether github.com/patrickhener/goshs is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for github.com/patrickhener/goshs CVEs against the assets you own.
Start Free Scan →