{
  "id": "CVE-2026-52808",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52808",
  "published_at": "2026-06-24T20:27:41.41Z",
  "title": "Gogs: Write-level collaborators can mutate admin-only repository settings via API",
  "vendor": "gogs",
  "product": "gogs",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather than reqRepoAdmin(). The equivalent operations in the web UI sit behind reqRepoAdmin, which requires AccessMode \u003e= AccessModeAdmin. A write-level collaborator (who has AccessMode == AccessModeWrite \u003c AccessModeAdmin) can therefore call these API endpoints directly to disable the native issue tracker or wiki, inject attacker-controlled external tracker/wiki URLs that redirect all repository visitors, or trigger mirror sync — none of which they are authorized to do. This vulnerability is fixed in 0.14.3.",
  "cwe": "CWE-863",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gogs",
        "product": "gogs",
        "ranges": [
          "\u003c 0.14.3"
        ],
        "fixed_in": [
          "0.14.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade gogs to 0.14.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gogs/gogs/security/advisories/GHSA-268j-37xf-pp52"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gogs/gogs/pull/8327"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gogs/gogs/commit/6283462119bd8894f1599d70339b5e823f99954a"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/gogs/gogs/releases/tag/v0.14.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
