CVE-2026-40885

Source
https://cve.org/CVERecord?id=CVE-2026-40885
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40885.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40885
Aliases
Published
2026-04-21T19:40:37.272Z
Modified
2026-07-08T08:09:29.956240327Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40885.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-200"
    ]
}
References

Affected packages

Git / github.com/goshs-labs/goshs

Affected ranges

Type
GIT
Repo
https://github.com/goshs-labs/goshs
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.0.0-beta.4"
        },
        {
            "fixed": "2.0.0-beta.6"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v2.*
v2.0.0-beta.4
v2.0.0-beta.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40885.json"