Approved changes feed: RSS · Atom

cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*

part: a version: 2.0.0 update: beta4

VendorGoshs (e5ac5c1e-acc0-5162-8822-81b6d66823bc)
ProductGoshs (92785b59-c752-54bd-a41e-048bd5133d57)
Edition*
Language*
Software edition*
Target softwarego
Target hardware*
Other*

Notes

Imported from NVD CPE 2.0 feed

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-40903 vulnerable 2026-06-08 08:01:21.114901 Goshs - ArtiPACKED Vulnerability – GitHub Actions Credential Persistence
CRITICAL (9.1)
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs has an ArtiPACKED vulnerability. ArtiPACKED can lead to leakage of the GITHUB_TOKEN through workflow artifacts, even though the token is not present in the repository source code. This vulnerability is fixed in 2.0.0-beta.6.
Published: 2026-04-21T19:43:36.037Z
Updated: 2026-04-22T13:45:41.782Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40885 vulnerable 2026-06-08 08:01:21.085887 goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access
goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs leaks file-based ACL credentials through its public collaborator feed when the server is deployed without global basic auth. Requests to .goshs-protected folders are logged before authorization is enforced, and the collaborator websocket broadcasts raw request headers, including Authorization. An unauthenticated observer can capture a victim's folder-specific basic-auth header and replay it to read, upload, overwrite, and delete files inside the protected subtree. This vulnerability is fixed in 2.0.0-beta.6.
Published: 2026-04-21T19:40:37.272Z
Updated: 2026-04-21T20:05:26.627Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40884 vulnerable 2026-06-08 08:01:21.085486 goshs: Empty-username SFTP password authentication bypass in goshs
CRITICAL (9.8)
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, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6.
Published: 2026-04-21T19:39:25.698Z
Updated: 2026-04-22T13:44:15.524Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40883 vulnerable 2026-06-08 08:01:21.084703 goshs: CSRF in state-changing GET routes enables authenticated file deletion and directory creation
goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This vulnerability is fixed in 2.0.0-beta.6.
Published: 2026-04-21T19:35:37.652Z
Updated: 2026-04-21T20:36:13.233Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40876 vulnerable 2026-06-08 08:01:21.074290 SFTP root escape via prefix-based path validation in goshs
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 root, which breaks the intended jail boundary and can expose or modify unrelated server files. The SFTP subsystem routes requests through sftpserver/sftpserver.go into DefaultHandler.GetHandler() in sftpserver/handler.go, which forwards file operations into readFile, writeFile, listFile, and cmdFile. All of those sinks rely on sanitizePath() in sftpserver/helper.go. helper.go uses a raw string-prefix comparison, not a directory-boundary check. Because of that, if the configured root is /tmp/goshsroot, then a sibling path such as /tmp/goshsroot_evil/secret.txt incorrectly passes validation since it starts with the same byte prefix. This vulnerability is fixed in 2.0.0-beta.6.
Published: 2026-04-21T19:34:19.875Z
Updated: 2026-04-22T13:29:26.188Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.