CVE-2026-52810

CVE-2026-123012 · GHSA-wmfg-5p4h-5fw3 · GO-2026-5712 · published 23 Jun 2026 · updated 12 Nov 2026

Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in gogs.io/gogs 0.14.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GogsGogs<0.14.3, =0.14.3
go: gogs.io/gogs<0.14.30.14.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gogs, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-52810 severity on Zeptric[![CVE-2026-52810](https://zeptric.io/badge/cve/CVE-2026-52810.svg)](https://zeptric.io/cve/CVE-2026-52810)