{"id":"EUVD-2026-117331","enisaUuid":"ef1803a4-8e61-35c0-8ea0-a91b03c7b3cd","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.","datePublished":"Nov 5, 2026, 4:52:36 AM","dateUpdated":"Nov 9, 2026, 8:36:57 PM","baseScore":7.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68\nhttps://humanoid.sh/blog/gogs-cve-2026-123012/\n","aliases":"CVE-2026-123012\nGHSA-hqvj-j27r-9j7c\n","assigner":"mitre","epss":0.34,"enisaIdProduct":[{"id":"6f4744c3-2293-323d-8fb1-45176dbf93c2","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"0.14.3"}],"enisaIdVendor":[{"id":"100e9a39-d354-3a85-b3ec-f305042d494a","vendor":{"name":"gogs"}}],"enisaIdVulnerability":[{"id":"0bafe00c-0d46-3c58-bc5b-627e791ead93","vulnerability":{"id":"GHSA-hqvj-j27r-9j7c","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 inconsistency about whether a verb is checked in a case-sensitive manner.","datePublished":"Nov 5, 2026, 6:34:37 AM","dateUpdated":"Nov 6, 2026, 9:31:14 PM","baseScore":0.0,"references":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-123012\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68\nhttps://humanoid.sh/blog/gogs-cve-2026-123012\n","enisa_id":"EUVD-2026-117331\n","aliases":"CVE-2026-123012\nGHSA-hqvj-j27r-9j7c\n","epss":0.0,"dataProcessed":"Nov 14, 2026, 7:05:35 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"9c3758bb-0136-3f5d-8194-4e24c025fb7b","vulnerability":{"id":"CVE-2026-123012","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.","datePublished":"Nov 5, 2026, 4:52:36 AM","dateUpdated":"Nov 9, 2026, 8:36:57 PM","status":"PUBLISHED","baseScore":7.1,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418\nhttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68\nhttps://humanoid.sh/blog/gogs-cve-2026-123012/\n","enisa_id":"EUVD-2026-117331\n","assigner":"mitre","epss":0.34,"dataProcessed":"Nov 14, 2026, 7:18:05 AM","vulnerabilityProduct":[{"id":"13366a49-9796-3f2d-90c2-a1c1d99d1d1d","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"0.14.3"}],"vulnerabilityVendor":[{"id":"e4787b98-8d5b-34db-a05b-8f146b7dd933","vendor":{"name":"gogs"}}]}}],"enisaIdAdvisory":[{"id":"7207cd63-dd23-3ef4-8069-96a608d8c4b2","advisory":{"id":"WID-SEC-W-2026-4360","description":"Gogs: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen und DoS","summary":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Gogs ausnutzen, um Sicherheitsvorkehrungen zu umgehen und einen Denial of Service zu verursachen.","datePublished":"Nov 4, 2026, 11:00:00 PM","dateUpdated":"Nov 4, 2026, 11:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4360.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-4360\n","aliases":"CVE-2026-123012\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"34b56501-6f40-3ebc-ba33-03af263c1c39","product":{"name":"gogs","vendor":{"name":"gogs"}}},{"id":"461de1e3-939e-3e4a-930e-84f1899b3125","product":{"name":"0.14.3","vendor":{"name":"open source"}}}]}}]}