Description
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-21
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure and unauthorized access
Action: Immediate Patch
AI Analysis

Impact

goshs version 2.0.0-beta.4 through 2.0.0-beta.5 leaks file‑based access‑control list credentials via its public collaborator feed. The server publishes raw request headers—including Basic Authorization headers for protected folders—before enforcing authentication on incoming requests. An attacker who observes the feed can capture a victim’s folder‑specific Authorization header and replay it to read, upload, overwrite, or delete files within the protected subtree. The weakness is a classic information‑disclosure flaw (CWE‑200) that also enables unauthorized access to confidential data and operations.

Affected Systems

The vulnerability affects the open‑source SimpleHTTPServer “goshs” produced by patrickhener. The issue is present in releases 2.0.0‑beta.4 to 2.0.0‑beta.5, and only occurs when the server is run without global basic authentication. The fix is delivered in 2.0.0‑beta.6. Organizations running any affected version should identify installations and confirm they are not exposed to public collaborator feeds.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. EPSS data is not available, so the probability of exploitation cannot be quantified, but the vulnerability is listed in no KEV catalog. An unauthenticated observer that can reach the public collaborator feed and the protected folders (typically via the same network or the Internet if the feed is exposed) can easily capture the Authorization header. Because the credential leakage occurs in a public channel, the attack vector is likely remote over the network. The exploitation requires no special privileges beyond access to the feed, making this a straightforward privilege‑escalation scenario for anyone who can observe the traffic.

Generated by OpenCVE AI on April 22, 2026 at 05:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to goshs 2.0.0‑beta.6 or later, which removes the credential leak from the collaborator feed.
  • Enable global Basic Authentication on the server to prevent the leak; the authorization header will no longer be transmitted openly.
  • Restrict network access to the collaborator feed or the .goshs‑protected directories (e.g., via firewall rules or IP whitelisting) to limit exposure to trusted hosts.

Generated by OpenCVE AI on April 22, 2026 at 05:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7h3j-592v-jcrp goshs's public collaborator feed leaks .goshs ACL credentials and enables unauthorized access
History

Wed, 22 Apr 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Patrickhener
Patrickhener goshs
Vendors & Products Patrickhener
Patrickhener goshs

Wed, 22 Apr 2026 00:00:00 +0000

Type Values Removed Values Added
Description 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.
Title goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Patrickhener Goshs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-21T20:05:26.627Z

Reserved: 2026-04-15T15:57:41.719Z

Link: CVE-2026-40885

cve-icon Vulnrichment

Updated: 2026-04-21T20:05:14.784Z

cve-icon NVD

Status : Received

Published: 2026-04-21T20:17:02.257

Modified: 2026-04-21T21:16:43.883

Link: CVE-2026-40885

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T11:45:24Z

Weaknesses