CVE-2026-52810Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion
Updated under an hour ago ()
Does this affect you?
It affects gogs. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-284
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Jun 25, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
gogs gogs gogs:gogs (from the name) | before 0.14.3 | CNA record |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3x-refsource-confirm
- https://github.com/gogs/gogs/pull/8331x-refsource-misc
- https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184x-refsource-misc
- https://github.com/gogs/gogs/releases/tag/v0.14.3x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.