CVE-2026-123012 PUBLISHED

Assigner: mitre
Reserved: 05.11.2026 Published: 05.11.2026 Updated: 05.11.2026

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.

Metrics

CVSS 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
CVSS Score: 7.1

Product Status

Vendor Gogs
Product Gogs
Versions Default: unknown
  • Version 0.14.3 is affected

Workarounds

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

Solutions

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

References

Problem Types

  • CWE-178 Improper Handling of Case Sensitivity CWE