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

Source: https://junglewise.ai/threats/cve-2026-123012-in-gogs-0-14-3-the-git-smart-http-authorization-layer-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-05. Updated: 2026-11-05  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/gogs). Vendors: [Gogs](https://junglewise.ai/threats/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

- [https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go](https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go)
- [https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go](https://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go)

## Related threats

- [Gogs open redirect via backslash normalization mismatch](https://junglewise.ai/threats/cve-2026-82402-gogs-is-an-open-source-self-hosted-git-service-prior-to-0-15-0)
- [Gogs stored XSS in Jupyter Notebook sanitizer endpoint](https://junglewise.ai/threats/cve-2026-52816-gogs-stored-xss-in-jupyter-notebook-sanitizer-endpoint)
- [Gogs unauthenticated information disclosure in organization teams API](https://junglewise.ai/threats/cve-2026-52815-gogs-unauthenticated-information-disclosure-in-organization-teams)
- [Gogs Denial of Service via SSH handshake stall in built-in SSH server](https://junglewise.ai/threats/cve-2026-52814-gogs-denial-of-service-via-ssh-handshake-stall-in-built-in-ssh)
- [Gogs path traversal and RCE via organization names](https://junglewise.ai/threats/cve-2026-52813-gogs-path-traversal-and-rce-via-organization-names)
