Skip to content
skopnix

NVD published 24 Jun 2026

CVE-2026-52806

2 public exploits.

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.

Signals

KEV, exploited in the wild
no
EPSS, 30-day forecast
7.9%, 95th percentile (as of 18 Nov 2026)
CVSS, NVD, CRITICAL
9.9
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Internet exposure
not stated

Not in CISA's catalogue as of the last daily pull. Absence is not proof of safety.

Timeline 28 May 2026 to today

27 days from the Metasploit module to disclosure
Metasploit 28 May 2026Disclosed 24 Jun 2026today
  1. Metasploit
  2. Disclosed+27 d

27 days from the Metasploit module to disclosure

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 1 dispatch

  1. Metasploit Wrap Up: Lot of summer shells and fit http profiles · KEV

Public exploit code 2 known · links only

GitHub PoCs 1Metasploit 1Exploit-DB 0

GitHub PoCs, by trust then stars0

1 suspicious repository, folded away
  1. portbuster1337/CVE-2026-52806
    Suspicious 40 · 2 flags
    • readme lure (readme_lure)
    • new owner account (new_owner_account)
    7 stars

    Gogs RCE via argument injection in git rebase (CWE-88) — Python PoC. CVE-2026-52806

    created 28 May 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits an argument injection vulnerability (CVE-2026-52806) in the pull request merge flow of Gogs (< 0.14.3). The Merge() function in internal/database/pull.go passes the PR base branch name to `git rebase` without a `--` separator. A branch named `--exec=<CMD>` is parsed by Git as the --exec flag rather than a positional argument, causing `sh -c <CMD>` to run after each replayed commit during the rebase. Two

    ruby · first seen by skopnix 18 Oct 2026

Nuclei detection templates1

  1. 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.

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check