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

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-23T17:03:41.000Z
- Modified: 2026-11-05T21:41:04.695Z
- Also known as: GHSA-wmfg-5p4h-5fw3, GO-2026-5712
- Related: CVE-2026-123012
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.3
- gogs.io/gogs (Go): before 0.14.3; all versions

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3> (exploit, advisory, web)
- <https://github.com/gogs/gogs/pull/8331> (web)
- <https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184> (web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-52810> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-52810](https://www.cve.org/CVERecord?id=CVE-2026-52810), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-wmfg-5p4h-5fw3](https://github.com/advisories/GHSA-wmfg-5p4h-5fw3), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-5712](https://pkg.go.dev/vuln/GO-2026-5712), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-52810](https://nvd.nist.gov/vuln/detail/CVE-2026-52810), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-52810 · Whole record: https://cve.day/CVE-2026-52810.json · Rebuilt by cve.day 2026-11-25T22:59:25.748Z
