Advisory record · GHSA-7h3j-592v-jcrp

goshs's public collaborator feed leaks .goshs ACL credentials and enables unauthorized access

CVSS 7.7 HighEPSS 0.0031 · 24th percentile

Published by the GitHub Advisory Database at 14 Apr 2026, 22:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/patrickhener/goshs/v2Go>=2.0.0-beta.4, <2.0.0-beta.62.0.0-beta.6
Identifiers
GHSA-7h3j-592v-jcrp · CVE-2026-40885 · GO-2026-5221
Weakness (CWE)
CWE-200
Published
14 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GHSA-7h3j-592v-jcrp affects github.com/patrickhener/goshs/v2 versions from 2.0.0-beta.4 before 2.0.0-beta.6. When goshs runs without global basic auth, its public collaborator websocket broadcasts raw request headers, including Authorization, so an unauthenticated observer can capture a folder-level credential. The attacker can replay it to read, upload, overwrite, or delete files in the .goshs-protected folder. Upgrade to version 2.0.0-beta.6, or enable global basic auth with the -b option as a mitigation.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0031, the 24th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:07 UTC First seen by agentprime
  2. 31 Oct 2026, 15:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.