{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.25.4"
              },
              {
                "last_affected": "1.25.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "369830bada2fd8826a5135cb2fc66660a9bef708"
            },
            {
              "last_affected": "369830bada2fd8826a5135cb2fc66660a9bef708"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.25.4"
      ]
    }
  ],
  "aliases": [
    "GHSA-qf2f-qh6p-7v89"
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59766.json"
  },
  "details": "Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.",
  "id": "CVE-2026-59766",
  "modified": "2026-10-16T02:31:19.625187036Z",
  "published": "2026-10-14T14:28:20.687Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59766.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-qf2f-qh6p-7v89"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59766"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/38324"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gitea private repository metadata disclosure after access revocation"
}