{"schema":"vulnpedia.research/1","cve":"CVE-2026-123012","references":[{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418","tags":["product"],"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","tags":["product"],"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418"},{"source":"nvd","sourceId":"CVE-2026-123012","modified":"2026-11-12T22:11:01.153","url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418"}]},{"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68","tags":["product"],"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","tags":["product"],"url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68"},{"source":"nvd","sourceId":"CVE-2026-123012","modified":"2026-11-12T22:11:01.153","url":"https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68"}]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3","tags":["ADVISORY","WEB","exploit","related"],"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","tags":["related"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"},{"source":"mitre","sourceId":"CISA-ADP","modified":"2026-11-09T20:36:57.237Z","tags":["exploit"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"},{"source":"nvd","sourceId":"CVE-2026-123012","modified":"2026-11-12T22:11:01.153","url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["ADVISORY","WEB"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"},{"source":"go","sourceId":"GO-2026-5712","url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"}]},{"url":"https://humanoid.sh/blog/gogs-cve-2026-123012/","tags":["third-party-advisory"],"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","origins":[{"source":"mitre","sourceId":"mitre","modified":"2026-11-06T18:03:53.415Z","tags":["third-party-advisory"],"url":"https://humanoid.sh/blog/gogs-cve-2026-123012/"},{"source":"nvd","sourceId":"CVE-2026-123012","modified":"2026-11-12T22:11:01.153","url":"https://humanoid.sh/blog/gogs-cve-2026-123012/"}]},{"url":"https://github.com/gogs/gogs","tags":["PACKAGE"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://github.com/gogs/gogs"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["PACKAGE"],"url":"https://github.com/gogs/gogs"}]},{"url":"https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184","tags":["WEB"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["WEB"],"url":"https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184"},{"source":"go","sourceId":"GO-2026-5712","url":"https://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184"}]},{"url":"https://github.com/gogs/gogs/pull/8331","tags":["WEB"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://github.com/gogs/gogs/pull/8331"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["WEB"],"url":"https://github.com/gogs/gogs/pull/8331"},{"source":"go","sourceId":"GO-2026-5712","url":"https://github.com/gogs/gogs/pull/8331"}]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["WEB"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["WEB"],"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"},{"source":"go","sourceId":"GO-2026-5712","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52810","tags":["ADVISORY"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52810"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["ADVISORY"],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52810"}]},{"url":"https://osv.dev/vulnerability/GHSA-wmfg-5p4h-5fw3","tags":["ADVISORY"],"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://osv.dev/vulnerability/GHSA-wmfg-5p4h-5fw3"},{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","tags":["ADVISORY"],"url":"https://osv.dev/vulnerability/GHSA-wmfg-5p4h-5fw3"}]},{"url":"https://osv.dev/vulnerability/GO-2026-5712","tags":["ADVISORY"],"source":"go","sourceId":"GO-2026-5712","origins":[{"source":"go","sourceId":"GO-2026-5712","url":"https://osv.dev/vulnerability/GO-2026-5712"},{"source":"go","sourceId":"GO-2026-5712","modified":"2026-11-05T21:41:04.695562247Z","tags":["ADVISORY"],"url":"https://osv.dev/vulnerability/GO-2026-5712"}]},{"source":"euvd","sourceId":"EUVD-2026-117331","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-117331","tags":["ADVISORY"],"origins":[{"source":"euvd","sourceId":"EUVD-2026-117331","tags":["ADVISORY"],"url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-117331"}]}],"packages":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","url":"https://osv.dev/vulnerability/GHSA-wmfg-5p4h-5fw3","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.14.3"}]}],"databaseSpecific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-wmfg-5p4h-5fw3/GHSA-wmfg-5p4h-5fw3.json"},"modified":"2026-11-05T21:41:04.695562247Z","origins":[{"source":"ghsa","sourceId":"GHSA-wmfg-5p4h-5fw3","modified":"2026-11-05T21:41:04.695562247Z","url":"https://osv.dev/vulnerability/GHSA-wmfg-5p4h-5fw3"}]},{"source":"go","sourceId":"GO-2026-5712","url":"https://osv.dev/vulnerability/GO-2026-5712","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystemSpecific":{"custom_ranges":[{"events":[{"introduced":"0"},{"fixed":"0.14.3"}],"type":"ECOSYSTEM"}]},"databaseSpecific":{"source":"https://vuln.go.dev/ID/GO-2026-5712.json"},"modified":"2026-11-05T21:41:04.695562247Z","origins":[{"source":"go","sourceId":"GO-2026-5712","modified":"2026-11-05T21:41:04.695562247Z","url":"https://osv.dev/vulnerability/GO-2026-5712"}]}],"pocCandidates":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3","tags":["ADVISORY","WEB","exploit","related"],"source":"mitre","sourceId":"CISA-ADP","modified":"2026-11-09T20:36:57.237Z","origins":[{"source":"mitre","sourceId":"CISA-ADP","modified":"2026-11-09T20:36:57.237Z","tags":["exploit"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3"}],"kind":"publisher-linked","verification":"unverified","executable":false,"cve":"CVE-2026-123012","candidateBasis":"Primary CVE reference tagged exploit"}],"cataloguedPoc":[],"vendorStatements":[],"sourceTimes":{"cisa-kev":"2026-11-17T16:17:06.452Z","exploitdb":"2026-11-17T16:17:06.452Z","epss":"2026-11-17T16:17:06.452Z","nuclei":"2026-11-17T16:17:06.452Z","osv-PyPI":"2026-11-17T04:27:59.087Z","osv-npm":"2026-11-17T04:28:15.939Z","osv-Maven":"2026-11-17T04:28:01.586Z","osv-Go":"2026-11-17T04:28:02.946Z","osv-crates_io":"2026-11-17T04:28:03.528Z","osv-RubyGems":"2026-11-17T04:28:04.373Z","osv-Packagist":"2026-11-17T04:28:06.135Z","osv-NuGet":"2026-11-17T04:28:07.122Z","osv-Pub":"2026-11-17T04:28:07.350Z","osv-SwiftURL":"2026-11-17T04:28:07.501Z","osv-GitHub_Actions":"2026-11-17T04:28:07.633Z","osv-_EMPTY_":"2026-11-17T04:28:10.211Z","poc-in-github":"2026-11-17T04:28:13.897Z","metasploit":"2026-11-17T04:28:14.294Z","redhat-vex":"2026-11-17T04:33:40.770Z","euvd":"2026-11-17T04:27:48.925Z","vulncheck-kev":"2026-11-17T04:27:54.912Z","zdi":"2026-11-17T16:17:21.970Z","oss-security":"2026-11-17T16:17:21.970Z","full-disclosure":"2026-11-17T16:17:21.970Z","cert-cc":"2026-11-17T16:17:21.970Z","watchtowr":"2026-11-17T16:17:21.970Z","lexfo":"2026-11-17T16:17:21.970Z","google-security-research":"2026-11-17T16:17:21.970Z","vulncheck-initial-access":"2026-11-17T16:17:21.970Z","fkie-nvd-2026":"2026-11-17T16:17:10.644Z","fkie-nvd-2025":"2026-11-17T04:27:44.402Z","ghsa":"2026-11-17T04:27:59.087Z","pysec":"2026-11-17T04:27:59.087Z","go":"2026-11-17T04:27:59.087Z","rustsec":"2026-11-17T04:27:59.087Z","primary":"2026-11-09T20:36:57.237Z","nvd":"2026-11-12T22:11:01.153"},"sourceFields":{"schema":"vulnpedia.source-fields/1","primary":{"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 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-05","cwe":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"labels":{"vendors":["Gogs"],"products":["Gogs"]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"}},"nvd":{"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 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-05","cwe":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"labels":{"vendors":[],"products":[]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"}}},"labels":{"vendors":["Gogs"],"products":["Gogs"]},"evidence":{"version":"2026-11-17T16:17:37.769Z#dd7ec3af213e2eef1cfde4c451182cc01316f4e9eef43ba325944ebef0ffc0e0","checkedAt":"2026-11-17T16:17:37.769Z","changedAt":"2026-11-16T23:39:03.167Z","pocChangedAt":null}}