Hackers now exploit critical Gitea flaw in code injection attacks
Source Bleeping Computer
Exploited in the wild · KEV due 28 Aug 2026 · public detection template (Nuclei) : upgrade to 1.27.1 now.
Data as of 24 Nov 2026, 21:16 UTC
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
- Patch
- Available – fixed in 1.27.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 26 Aug 2026
Detectable: evidence found.
nuclei template: Gitea <= 1.27.0 - Pre-Auth Remote Code Execution
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 1 day before disclosure
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 1 day before disclosure
CVE published
on cve.org
, t = 0
KEV remediation due
US federal deadline
, 2 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade Gitea to 1.27.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GiteaGitea | Affected
| Fixed in
|
AI-suggested
Gitea has released version 1.27.1 to fix CVE-2026-60004. Users should upgrade to this version or later as soon as possible. U.S. federal civilian agencies are mandated by CISA to patch within three days of the advisory. Organizations should verify if self-registration is enabled and consider disabling it to reduce risk. Since this is a self-hosted service, patching is the primary remediation. No vendor advisory states that no action is required or that the issue is already mitigated without patching.
Description
A critical code injection vulnerability (CVE-2026-60004) in the Gitea self-hosted Git service is actively exploited by attackers. The flaw allows an authenticated user with repository write access to execute arbitrary shell commands as the Gitea service account via the diffpatch API endpoint. Default configurations with self-registration enabled permit unauthenticated attackers to register accounts, create repositories, and exploit the vulnerability without prior credentials. Gitea released version 1.27.1 to address this issue. U.S. federal agencies have been ordered by CISA to patch within three days due to active exploitation involving cryptocurrency mining malware. The vulnerability poses significant risks to affected servers if unpatched.