---
id: CVE-2026-123012
title: >-
  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
summary: >-
  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 v…
severity: high
cvss: 7.1
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-178
vendor: Gogs
product: Gogs
affected:
  - Gogs 0.14.3
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T04:58:36.068Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-123012'
references:
  - url: 'https://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3'
  - 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:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.774Z'
epss: 0.00325
epssPercentile: 0.25663
---

## Overview

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.

## Affected

- `Gogs 0.14.3`

## Remediation

No patch available. Use case-insensitive comparison (strings.EqualFold) in gitHTTPIsPull in internal/route/repo/http.go

### Workarounds

Disable Git Smart HTTP access (set DISABLE_HTTP_GIT = true in app.ini) and use SSH-only for Git operations
