Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40885: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in patrickhener goshs

0
High
VulnerabilityCVE-2026-40885cvecve-2026-40885cwe-200
Published: Tue Apr 21 2026 (04/21/2026, 19:40:37 UTC)
Source: CVE Database V5
Vendor/Project: patrickhener
Product: 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

AILast updated: 04/21/2026, 20:16:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses