Skip to content
Heist/ feed
Back to feed
Medium

Gokapi: Data Leak in Upload Status Stream

Type: advisorySources: OSV

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, the upload status SSE implementation on /uploadStatus publishes global upload state to any authenticated listener and includes file_id values that are not scoped to the requesting user. This issue has been patched in version 2.2.3.

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

Source evidence

Gokapi: Data Leak in Upload Status Stream

core-osv · Original source

Published 6 Mar 2026, 04:43 UTC

Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, the upload status SSE implementation on /uploadStatus publishes global upload state to any authenticated listener and includes file_id values that are not scoped to the requesting user. This issue has been patched in version 2.2.3.

osv:CVE-2026-28682
Complete source record
{
  "id": "c768d5e54c6d6f23285ed3f804841e636b9c7c8e09da5dea5748281c51ff6cd0",
  "url": "https://osv.dev/vulnerability/CVE-2026-28682",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gokapi: Data Leak in Upload Status Stream",
    "summary": "Gokapi is a self-hosted file sharing server with automatic expiration and encryption support. Prior to version 2.2.3, the upload status SSE implementation on /uploadStatus publishes global upload state to any authenticated listener and includes file_id values that are not scoped to the requesting user. This issue has been patched in version 2.2.3.",
    "evidence": "osv:CVE-2026-28682",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-28682",
      "aliases": [
        "CVE-2026-28682",
        "GHSA-c36c-7pc2-f2ph",
        "GO-2026-4613"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/forceu/gokapi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fc8ff272409ac68d85835b1d43c011fc986de08a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc8ff272409ac68d85835b1d43c011fc986de08a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.2.3"
                  },
                  {
                    "cpe": "cpe:2.3:a:forceu:gokapi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.2.0-rc1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-beta2",
            "v2.0.0-beta1",
            "v1.9.6",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.8.0-beta.0",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.6.0-beta1",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0-beta1",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.0",
            "v1.0.1",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28682.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.317124962Z",
      "provider": "osv",
      "references": [
        "https://github.com/Forceu/Gokapi/releases/tag/v2.2.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28682.json",
        "https://github.com/Forceu/Gokapi/security/advisories/GHSA-c36c-7pc2-f2ph",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-28682"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200",
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28682.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-28682",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521255,
  "published_at": "2026-03-06T04:43:59.708+00:00"
}