Skip to content
Heist/ feed
Back to feed
High

goshs has Auth Bypass via Share Token

Type: advisorySources: OSV

goshs is a SimpleHTTPServer written in Go. From version 1.1.0 to before version 2.0.0-beta.2, when using the Share Token it is possible to bypass the limited selected file download with all the gosh functionalities, including code exec. This issue has been patched in version 2.0.0-beta.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-34581
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:07 UTC · Revision 1

Source evidence

goshs has Auth Bypass via Share Token

core-osv · Original source

Published 2 Apr 2026, 18:04 UTC

goshs is a SimpleHTTPServer written in Go. From version 1.1.0 to before version 2.0.0-beta.2, when using the Share Token it is possible to bypass the limited selected file download with all the gosh functionalities, including code exec. This issue has been patched in version 2.0.0-beta.2.

osv:CVE-2026-34581
Complete source record
{
  "id": "08b22bdb51e1de70f1f5198e38a56629514b6465a61591fef66eb2f661267698",
  "url": "https://osv.dev/vulnerability/CVE-2026-34581",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "goshs has Auth Bypass via Share Token",
    "summary": "goshs is a SimpleHTTPServer written in Go. From version 1.1.0 to before version 2.0.0-beta.2, when using the Share Token it is possible to bypass the limited selected file download with all the gosh functionalities, including code exec. This issue has been patched in version 2.0.0-beta.2.",
    "evidence": "osv:CVE-2026-34581",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-34581",
      "aliases": [
        "CVE-2026-34581",
        "GHSA-jgfx-74g2-9r6g",
        "GO-2026-5469"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/goshs-labs/goshs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ae129a5ae4fc0e05875da251e5ba9cf1c7a6db3"
                },
                {
                  "fixed": "0c316e71c6eb69d75218c4af6e9793cc07cdfaab"
                },
                {
                  "fixed": "6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216"
                },
                {
                  "fixed": "69d1ae7a3187f098b7ad80723b89270104afff06"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "2.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "69d1ae7a3187f098b7ad80723b89270104afff06"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.0.0-beta.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.4",
            "v2.0.0-beta.1",
            "1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34581.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.959073006Z",
      "provider": "osv",
      "references": [
        "https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34581.json",
        "https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34581",
        "https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-288"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34581.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34581",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516855,
  "published_at": "2026-04-02T18:04:35.217+00:00"
}