{"id":"CVE-2026-123012","published":"2026-11-05T04:52:36Z","modified":"2026-11-09T20:36:57Z","title":"In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read…","vendor":"Gogs","product":"Gogs","tier":"tail","description":{"text":"In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810. This occurs because of a case-sensitivity desync between the authorization classifier and the request dispatcher: the gitHTTPIsPull function compares the Git action verb case-sensitively and defaults to pull (read access) for any unrecognized string, whereas the request dispatcher lowercases the same verb before routing it to the receive-pack handler. Capitalizing a single letter in the URL (e.g. info/Refs instead of info/refs, or git-receive-Pack instead of git-receive-pack) causes the classifier to misidentify a push as a pull, granting only read-level authorization, whereas the dispatcher routes it to the write handler. An authenticated read-only collaborator can exploit this to push to a private repository, creating, updating, or deleting refs.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00416,"percentile":0.36682,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3","tags":["related"]},{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418","tags":["product"]},{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68","tags":["product"]},{"url":"https://humanoid.sh/blog/gogs-cve-2026-123012/","tags":["third-party-advisory"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.34},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"Gogs","product":"Gogs","versions":["0.14.3"]}],"solutions":{"items":["No patch available. Use case-insensitive comparison (strings.EqualFold) in gitHTTPIsPull in internal/route/repo/http.go"],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Disable Git Smart HTTP access (set DISABLE_HTTP_GIT = true in app.ini) and use SSH-only for Git operations"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T20:36:30.158372Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5712"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-117331","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gogs-cve-2022-1992","parents":[{"from":"CVE-2026-52810","to":"CVE-2026-123012","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-wmfg-5p4h-5fw3","via":"reference","url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"}]}]}}