Public vulnerability disclosure

CVE-2026-123012

CVE-2026-123012

publishedCWE-178

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.

Technical severity7.1 highCVSS 4.0 · CNA: mitre
Published2026-11-05Source updated 2026-11-05
Collected2026-11-051 attributed source

Fixes and workarounds

Fix

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

Source: CNA: mitre

Workaround

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

Source: CNA: mitre

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Gogs
Gogs
gogs.io/gogs
golang
0.14.3 (affected, semver)
Other versions: unknown
CNA: mitre

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 7.1
high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:L/SA:NCNA: mitre

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide