CVE-2026-52810 json
Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion
published 4mo ago modified 6d ago also CVE-2026-123012 , EUVD-2026-39081 , GHSA-wmfg-5p4h-5fw3 , GO-2026-5712
- cvss
- 7.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gogs.io/gogs 0.14.3
- gogs gogs 0.14.3
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/gogs/gogs@7c9cf53 commit
- github.com/gogs/gogs#8331 pull request
- github.com/gogs/gogs/releases/tag/v0.14.3 release
Is CVE-2026-52810 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.1 | 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 |
| CNA | 4.0 | 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.14.3 all versions |
0.14.3 |
Affected products
- gogs gogs
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/gogs/gogs/pull/8331
web
-
github.com
/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184
web
-
github.com
/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3
exploit, web, advisory
-
github.com
/gogs/gogs/releases/tag/v0.14.3
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-52810
advisory
-
github.com
/gogs/gogs
package
Sources
- CVE List CVE-2026-52810
- GitHub Advisory GHSA-wmfg-5p4h-5fw3
- NVD CVE-2026-52810
- OSV GO-2026-5712
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.