{
  "id": "CVE-2026-40885",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40885",
  "published_at": "2026-04-21T19:40:37.272Z",
  "title": "goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access",
  "vendor": "patrickhener",
  "product": "goshs",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*",
    "cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "patrickhener",
        "product": "goshs",
        "ranges": [
          "\u003e= 2.0.0-beta.4, \u003c 2.0.0-beta.6"
        ],
        "fixed_in": [
          "2.0.0-beta.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade goshs to 2.0.0-beta.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
