# CVE-2026-52806 — gogs

> As of 2026-06-26, CVE-2026-52806 is a CRITICAL-severity vulnerability in gogs, CVSS v3.1 9.9, EPSS 7.9% (94.6th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-52806, most recently “Cryptojacking Campaign Exploiting Gogs (CVE-2026-52806) and Argo Workflows (CVE-2026-42296/CVE-2026-42295) Targets Managed Kubernetes Clusters”.

**Last updated:** 2026-06-26

## What is CVE-2026-52806?

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. This vulnerability is fixed in 0.14.3.

The record classifies CVE-2026-52806 under weakness class [CWE-77](https://intel.threadlinqs.com/cwe/CWE-77). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 126 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 9.9 — CRITICAL (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`)
- **EPSS (FIRST):** 7.9% probability of exploitation in the next 30 days, higher than 94.6% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-06-24, last modified 2026-06-26

## Is CVE-2026-52806 being exploited?

Weaponised exploit code for CVE-2026-52806 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (`http/cves/2026/CVE-2026-52806.yaml`). It currently carries a trending score of 42 in the Threadlinqs vulnerability feed.

- [trickest/cve](https://github.com/trickest/cve/blob/main/2026/CVE-2026-52806.md) (trickest)

## Affected products and versions

- **gogs**: gogs

Affected software packages:

- `go:gogs.io/gogs` — patched in 0.14.3

## How to fix CVE-2026-52806

Fixed versions are recorded for 1 package: go:gogs.io/gogs 0.14.3. No vendor patch reference has been recorded for CVE-2026-52806 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-52806

1 tracked threat in the Threadlinqs corpus references CVE-2026-52806, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Cryptojacking Campaign Exploiting Gogs (CVE-2026-52806) and Argo Workflows (CVE-2026-42296/CVE-2026-42295) Targets Managed Kubernetes Clusters](https://intel.threadlinqs.com/threat/TL-2026-1230) — HIGH · 2026-07-11

## Sources

Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on 2026-10-10.

**Vendor advisory and patch**

- [github.com](https://github.com/gogs/gogs/security/advisories/GHSA-qf6p-p7ww-cwr9)

**Other references**

- [github.com](https://github.com/gogs/gogs/pull/8301)
- [github.com (a9dbafbfd8e1020bacc626420238c01d75d03364)](https://github.com/gogs/gogs/commit/a9dbafbfd8e1020bacc626420238c01d75d03364)
- [github.com (v0.14)](https://github.com/gogs/gogs/releases/tag/v0.14.3)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-52806
Full detection coverage and IOCs for threats exploiting CVE-2026-52806 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
