Home / Gogs / Gogs / CVE-2026-123012
CVE-2026-123012: is it exploited, and which versions of Gogs are affected and fixed?
CVE-2026-123012 is an improper Handling of Case Sensitivity vulnerability in Gogs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Gogs 0.14.3 (CVE record by mitre). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.1, CVSS 4.0, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-123012?
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.
From the CVE record by mitre, last updated November 9, 2026, 20:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Gogs | Gogs | 0.14.3 |
As the CVE record by mitre states it, last updated November 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-123012?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | 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 | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-123012 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 9, 2026)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 37.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-178 Improper Handling of Case Sensitivity
How do I fix it? (from the CVE record)
No patch available. Use case-insensitive comparison (strings.EqualFold) in gitHTTPIsPull in internal/route/repo/http.go
Is there a workaround? (from the CVE record)
Disable Git Smart HTTP access (set DISABLE_HTTP_GIT = true in app.ini) and use SSH-only for Git operations
Where are the vendor advisories and references?
- https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3 related
- https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418 product
- https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68 product
- https://humanoid.sh/blog/gogs-cve-2026-123012/ third-party-advisory
When was it published, and where is the official record?
- Reserved
- November 5, 2026
- Published
- November 5, 2026, 04:52 UTC
- CVE record updated
- November 9, 2026, 20:36 UTC by mitre
- NVD
- Deferred, last modified November 12, 2026, 22:11 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gogs?
- Dec 10, 2025CVE-2025-8110 Gogs: path traversal (reading or writing files outside the intended folder) exploited
- Nov 26, 2026CVE-2026-52803 gogs: session fixation
- Nov 24, 2026CVE-2026-77918 gogs: missing authorization
- Nov 22, 2026CVE-2026-134808 Gogs: improper Resolution of Path Equivalence
- Nov 19, 2026CVE-2026-133113 gogs: incorrect authorization
- Oct 14, 2026CVE-2026-82402 gogs: open redirect
- Jun 24, 2026CVE-2026-52797 gogs: path traversal (reading or writing files outside the intended folder)
- Jun 24, 2026CVE-2026-52813 gogs: path traversal
Questions about CVE-2026-123012
Is CVE-2026-123012 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Gogs are affected by CVE-2026-123012?
Gogs 0.14.3, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2026-123012?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-123012?
High (7.1, CVSS 4.0, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-123012?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.