{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.26.0"
              },
              {
                "last_affected": "1.27.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "f09bea7af13bd00d07a34252468389d15de39a8d"
            },
            {
              "last_affected": "1dac1bb2f8593d4319125fa6bca9283000a2ddc2"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-frpv-2xgv-wxpq"
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "cwe_ids": [
      "CWE-1220",
      "CWE-284",
      "CWE-639",
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78433.json"
  },
  "details": "Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.",
  "id": "CVE-2026-78433",
  "modified": "2026-10-15T02:31:08.697713666Z",
  "published": "2026-10-14T14:38:17.247Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.gitea.com/release-of-1.27.3/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78433.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39048"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39077"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v1.27.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-78433"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Gitea private attachment disclosure through repository mismatch"
}