Skip to content
archiveexploit · 29 Jul 2026 · 07:47 UTC

GHSA-rcr6-4jqh-j84m: Gitea: Remote Code Execution via diffpatch Git Hook Installation

EXPLKEVCVE-2026-60004source · THN
KEVActive exploitation (KEV)

CISA KEV means this flaw has been seen exploited in real attacks — not predicted, observed. Treat it as urgent regardless of its score.

What to do
  • On CISA KEV — actively exploited. Patch immediately.

last 60 dispatches · spectrum

### Summary Gitea's `diffpatch` endpoint can be abused to install and execute a Git hook from repository-controlled content. An attacker with ordinary write access to a repository can execute arbitrary shell commands as the Gitea OS user. With default open registration, an unauthenticated visitor can obtain the required write access by registering an account and creating a repository. …

CVE · detail
grounded ✓primary source ↗
Early access

Get the next one first.

Early access opens the actor API and MCP server first, plus alerts when an adversary you follow lands on the wire. One email when it's ready. Nothing else, ever.

bot-protected