{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.14.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7c9cf53aca957959bcd98b0cc987d9901b7cb184"
            },
            {
              "fixed": "3ba8aca90e17e5410b7e8b227c9f29256ac3e875"
            }
          ],
          "repo": "https://github.com/gogs/gogs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wmfg-5p4h-5fw3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52810.json"
  },
  "details": "Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string (so ?service=git-upload-pack is evaluated as read access) while routing still runs git receive-pack, allowing push where only read should be allowed. This vulnerability is fixed in 0.14.3.",
  "id": "CVE-2026-52810",
  "modified": "2026-07-15T01:49:09.147780380Z",
  "published": "2026-06-24T20:30:41.637Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/gogs/gogs/releases/tag/v0.14.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52810.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52810"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gogs/gogs/pull/8331"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion"
}