Approved changes feed: RSS · Atom

cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*

part: a version: * update: *

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

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-42091 vulnerable 2026-06-08 08:03:15.939796 goshs has Cross-Origin Arbitrary File Write via Missing CSRF on PUT and Wildcard CORS
MEDIUM (6.5)
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 unconditional Access-Control-Allow-Origin: * on the OPTIONS preflight handler (httpserver/server.go), any website can write arbitrary files to a goshs instance through the victim's browser — bypassing network isolation (e.g. localhost, internal network). This issue has been patched in version 2.0.2.
Published: 2026-05-04T17:24:47.890Z
Updated: 2026-05-05T14:14:46.121Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40903 vulnerable 2026-06-08 08:01:21.114706 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-40884 vulnerable 2026-06-08 08:01:21.085166 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-40876 vulnerable 2026-06-08 08:01:21.066539 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
CVE:CVE-2026-40189 vulnerable 2026-06-08 08:01:20.026938 goshs has a file-based ACL authorization bypass in goshs state-changing routes
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 state-changing routes. An unauthenticated attacker can upload files with PUT, upload files with multipart POST /upload, create directories with ?mkdir, and delete files with ?delete inside a .goshs-protected directory. By deleting the .goshs file itself, the attacker can remove the folder's auth policy and then access previously protected content without credentials. This results in a critical authorization bypass affecting confidentiality, integrity, and availability. This vulnerability is fixed in 2.0.0-beta.4.
Published: 2026-04-10T19:44:54.672Z
Updated: 2026-04-13T20:53:02.400Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40188 vulnerable 2026-06-08 08:01:20.023397 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-35471 vulnerable 2026-06-08 07:59:14.039467 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-35393 vulnerable 2026-06-08 07:59:13.826873 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-35392 vulnerable 2026-06-08 07:59:13.824263 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-34581 vulnerable 2026-06-08 07:59:12.718971 db.gcve.eu details were skipped to keep the page responsive. 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.