CVE-2026-123012: Gogs Git Smart HTTP authorization bypass

CVE-2026-123012 · Severity: info · Published 2026-11-05

Gogs is a lightweight Git service that hosts repositories. An authorization flaw in the Git Smart HTTP interface allows users with read-only access to push changes to repositories they should not be able to modify. This occurs due to inconsistent case-sensitive checking of Git operations, enabling privilege escalation within the repository access model.

Technologies: Gogs. Vendors: Gogs.

Quick answers

Is CVE-2026-123012 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-123012 being exploited in the wild.
How severe is CVE-2026-123012?
Informational severity, published 5 November 2026.
Which products and versions are affected?
Gogs 0.14.3.
Is there a fix for CVE-2026-123012?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-123012 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-123012?
Check whether you run Gogs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The Git Smart HTTP authorization layer in internal/route/repo/http.go fails to consistently apply case-sensitive checks when validating whether a Git verb (push or pull operation) is authorized. An attacker with read-only access can craft a request that bypasses the authorization check and perform a push operation. The vulnerability requires network access and valid (read) credentials to the affected repository.

Affected products

  • Gogs Gogs 0.14.3

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.