Approved changes feed: RSS · Atom

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

part: a version: 2.0.0 update: beta2

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.114852 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.085327 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.066590 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.027101 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.025440 goshs is Missing Write Protection for Parametric Data Values
HIGH (7.7)
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.
Published: 2026-04-10T19:43:45.197Z
Updated: 2026-04-13T15:35:32.574Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-35471 vulnerable 2026-06-08 07:59:14.039686 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.826919 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.826516 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.