{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-123012","id":"CVE-2026-123012","title":"Gogs unauthorized push in Git Smart HTTP authorization","description":"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 acc","descriptionLong":"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.","published":"2026-11-05T04:52:36.068Z","updated":"2026-11-14T02:30:39.249125848Z","reserved":"2026-11-05T04:52:35.639Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"4.0","score":7.1,"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","rating":"high","source":"mitre"},"metrics":[{"version":"4.0","score":7.1,"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","rating":"high","source":"mitre"},{"version":"4.0","score":7.1,"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/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","rating":"high","source":"mitre.org"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"}],"rating":"high","products":["Gogs"],"affectedProducts":[{"vendor":"Gogs","product":"Gogs","defaultStatus":"unknown","versions":[{"status":"affected","version":"0.14.3","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.3","all versions"],"fixed":["0.14.3"],"advisory":"GHSA-wmfg-5p4h-5fw3"}],"cwes":["CWE-178","CWE-284"],"aliases":["CVE-2026-52810","GHSA-wmfg-5p4h-5fw3","GO-2026-5712"],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3","tags":["related","exploit","advisory","web"]},{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418","tags":["product","web"]},{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68","tags":["product","web"]},{"url":"https://humanoid.sh/blog/gogs-cve-2026-123012/","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123012.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123012","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52810","tags":["advisory"]},{"url":"https://github.com/gogs/gogs/pull/8331","tags":["web"]},{"url":"https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184","tags":["web"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00336,"epssPercentile":0.27649,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-123012","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123012","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-123012","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wmfg-5p4h-5fw3","ok":true,"note":"GHSA-wmfg-5p4h-5fw3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-123012","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}