CVE-2026-40885: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in patrickhener goshs
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.
AI Analysis
Technical Summary
The vulnerability in goshs versions >= 2.0.0-beta.4 and < 2.0.0-beta.6 involves exposure of sensitive file-based ACL credentials through the public collaborator feed. When deployed without global basic authentication, requests to protected folders are logged prior to authorization checks, and the collaborator websocket broadcasts raw request headers containing Authorization headers. This enables an unauthenticated attacker to capture and replay these headers to access and manipulate files within the protected subtree. The vulnerability is identified as CWE-200 (Exposure of Sensitive Information) and has a CVSS 4.0 score of 7.7 (high). The issue is resolved in goshs 2.0.0-beta.6.
Potential Impact
An unauthenticated attacker can capture sensitive Authorization headers from the collaborator websocket feed and replay them to gain unauthorized read, upload, overwrite, and delete access to files within protected folders. This compromises confidentiality and integrity of data managed by the goshs server. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in goshs version 2.0.0-beta.6. Users should upgrade to this version or later to remediate the issue. Until upgraded, deploying goshs with global basic authentication enabled may reduce exposure. Patch status is not explicitly stated beyond the fix in 2.0.0-beta.6; verify with the vendor for the latest remediation guidance.
CVE-2026-40885: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in patrickhener goshs
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in goshs versions >= 2.0.0-beta.4 and < 2.0.0-beta.6 involves exposure of sensitive file-based ACL credentials through the public collaborator feed. When deployed without global basic authentication, requests to protected folders are logged prior to authorization checks, and the collaborator websocket broadcasts raw request headers containing Authorization headers. This enables an unauthenticated attacker to capture and replay these headers to access and manipulate files within the protected subtree. The vulnerability is identified as CWE-200 (Exposure of Sensitive Information) and has a CVSS 4.0 score of 7.7 (high). The issue is resolved in goshs 2.0.0-beta.6.
Potential Impact
An unauthenticated attacker can capture sensitive Authorization headers from the collaborator websocket feed and replay them to gain unauthorized read, upload, overwrite, and delete access to files within protected folders. This compromises confidentiality and integrity of data managed by the goshs server. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in goshs version 2.0.0-beta.6. Users should upgrade to this version or later to remediate the issue. Until upgraded, deploying goshs with global basic authentication enabled may reduce exposure. Patch status is not explicitly stated beyond the fix in 2.0.0-beta.6; verify with the vendor for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-15T15:57:41.719Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e7d78519fe3cd2cdf5b322
Added to database: 4/21/2026, 8:01:09 PM
Last enriched: 4/21/2026, 8:16:29 PM
Last updated: 4/22/2026, 6:05:00 AM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.