What’s Vulnerable › Vulnerabilities
CVE-2026-52810: Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion
- Severity: high (CVSS 7.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-06-25
- Weakness: CWE-284
Description
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 products
- gogs: before 0.14.3
References
- https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184
- https://github.com/gogs/gogs/pull/8331
- https://github.com/gogs/gogs/releases/tag/v0.14.3
- https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3
- https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3
Get alerted when CVE-2026-52810 or the next vulnerability affects your stack