Skip to content

Security Reports disagree7 publishers 2 min read Published Updated

Default self-registration hands unauthenticated attackers Gitea's exploited RCE on 8,393 servers

Gitea shipped a fix for CVE-2026-60004 on July 27 and CISA gave federal agencies until August 28, yet a month later Shadowserver still counts 8,393 exposed instances, and on shipped defaults the bug needs no credentials.

The Watch · Security desk

Send a correction

Illustration accompanying Default self-registration hands unauthenticated attackers Gitea's exploited RCE on 8,393 servers
Generated illustration

What happened

  • Shadowserver counted 8,393 internet-facing Gitea IPs still vulnerable to CVE-2026-60004 on August 27 and said the exposed servers remain under active attack.
  • The flaw is a code injection in Gitea's diffpatch API endpoint that runs arbitrary shell commands with the privileges of the Gitea service account.
  • Gitea released version 1.27.1 on July 27 to close the hole and told operators to upgrade their servers as soon as possible.
  • CISA added the CVE to its exploited-flaws catalog on Tuesday and gave Federal Civilian Executive Branch agencies three days to patch, to August 28, under BOD 26-04.
  • Reported in-the-wild exploitation has attackers installing cryptocurrency mining malware on unpatched Gitea servers, with CISA yet to publish attack details.

Why it matters

  • Who's exposed exposure Any Gitea instance that kept the shipped registration default is reachable by whoever can load its signup page, which means anyone who finds that page can meet the write-access precondition.
  • Who has to decide decision Version tracking no longer settles whether an instance is safe; operators have to decide who may create accounts and repositories on a self-hosted code server at all.
  • What's now possible capability Command execution as the Gitea service account puts an attacker on the machine that stores and serves the repositories, which is the position needed to alter what developers pull.
  • What it sets up precedent Two separate routes into self-hosted Gitea have been abused within two months, so the surface being worked is the platform rather than this one endpoint.

The chain runs from a public signup form to a shell in four steps. An attacker loads the registration page on any instance that kept the shipped default [3], creates an account, creates a repository, and thereby holds the ordinary write access the bug requires [2]. Then a patch goes to the diffpatch endpoint. Gitea's security team says that endpoint can be abused to install and execute a Git hook from repository-controlled content, and the hook runs shell commands as the Gitea OS user [4].

Gitea shipped 1.27.1 on July 27 for the flaw, which Salesforce security researcher Shai Rod reported [5][7]. Shadowserver's vulnerable count is dated August 27 [14]. That is 31 days of patch availability measured against 8,393 hosts still answering [10]. CISA's deadline for Federal Civilian Executive Branch agencies is August 28, one day after that scan, and the three-day window comes from BOD 26-04, which binds federal civilian agencies and nobody else [11][6]. The other operators in the 8,393 have no such deadline.

Gitea reports more than 400,000 installations [9]. The vulnerable figure is roughly 2 percent of that [12], but the two numbers are not the same measurement: Shadowserver counts internet-facing IPs that answer a scan [14]. An install behind a VPN with signup disabled never enters the population, so read 8,393 as exposed-and-vulnerable, not as a share of the fleet.

The advisory language says authenticated [1]. On a default install that qualifier describes nothing useful about who can reach the endpoint [3]. It does still matter on a locked-down instance, where the precondition is ordinary write access to any repository on the box [4], the level a contractor account or a stale integration token already has.

This is the second route into self-hosted Gitea worked in two months. In July, threat actors were seen abusing CVE-2026-20896, an authentication bypass in the official Gitea Docker image affecting instances with reverse proxy authentication headers enabled [8]. The payload reported on CVE-2026-60004 so far is cryptocurrency mining malware [13], installed by whichever attackers got there first; that says nothing about the ceiling on command execution as the account that serves the repositories.

Exposure here has two variables: the version the box runs, and whether a stranger can still create an account on it. A patch report shows only the first.

What to watch

  • Whether Shadowserver's vulnerable count falls after the August 28 federal deadline, and by how much.
  • Whether any payload beyond cryptocurrency mining appears: repository tampering or credential theft on a compromised Gitea host would reprice this.
  • Whether Gitea changes the shipped self-registration default in a follow-up release.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence62
Adoption40
Hype gap+20
Incentives
Not scored
Confidence58

Perspective Coverage

7 publishers
Builder
Builder 22%
Operator
Operator 67%
Investor
Investor 11%
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    CVE-2026-60004 is a code injection vulnerability that allows authenticated attackers to execute arbitrary shell commands with the privileges of the Gitea service account by submitting malicious patches via the diffpatch API endpoint.

    Reported SupportedView cited source
  2. [2]

    Successful exploitation requires repository write access to repositories hosted on the vulnerable server.

    Reported SupportedView cited source
  3. [3]

    Gitea comes with self-registration enabled by default, allowing unauthenticated attackers to register an account, create a new repository, and trigger the vulnerability without prior credentials.

    Reported SupportedView cited source
  4. [4]

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

    Reported Supported Source: Gitea security team advisoryView cited source
  5. [5]

    Gitea released version 1.27.1 on July 27 to address CVE-2026-60004 and advised users to upgrade as soon as possible.

    Reported SupportedView cited source
  6. [6]

    CISA added CVE-2026-60004 to its catalog of actively exploited flaws on Tuesday and ordered US Federal Civilian Executive Branch agencies to patch within three days, by August 28, as mandated by Binding Operational Directive 26-04.

    Reported SupportedView cited source
  7. [7]

    CVE-2026-60004 was reported by Salesforce security researcher Shai Rod.

    Reported SupportedView cited source
  8. [8]

    In July, threat actors were spotted abusing CVE-2026-20896, a critical authentication bypass in the official Gitea Docker image affecting instances with reverse proxy authentication headers enabled.

    Reported SupportedView cited source
  9. [9]

    Gitea is a self-hosted alternative to GitHub, GitLab and Bitbucket, with more than 400,000 installations and nearly 1,500 contributors.

    Reported SupportedView cited source
  10. [10]

    31 days elapsed between the July 27 release of Gitea 1.27.1 and Shadowserver's August 27 count of 8,393 vulnerable IPs.

    Derived Supported
  11. [11]

    CISA's August 28 patch deadline for federal civilian agencies falls one day after the August 27 scan date on which 8,393 hosts were still vulnerable.

    Derived Supported
  12. [12]

    8,393 vulnerable internet-facing IPs is about 2.1 percent of the more than 400,000 reported Gitea installations, though the two figures are measured differently.

    Derived Supported
  13. [13]

    CISA has not shared further details on the attacks, but the KEV listing was likely prompted by reports of in-the-wild exploitation in which attackers deploy cryptocurrency mining malware on unpatched Gitea servers.

    Reported ContestedView cited source
  14. [14]

    Shadowserver said it found 8,393 IPs vulnerable to CVE-2026-60004 on 2026-08-27, and warned on Friday that nearly 8,400 internet-exposed Gitea servers remain unsecured and vulnerable to ongoing attacks.

    Reported Contested Source: Shadowserver, via BleepingComputerView cited source

Sources

7 independent publishers whose own reporting we read for this story.

  1. bleepingcomputer.com

    7 articles · August 28, 2026

    Critical Zimbra RCE flaw now actively exploited in attacks
  2. cisa.gov

    2 articles · August 25, 2026

    CISA Adds One Known Exploited Vulnerability to Catalog
  3. helpnetsecurity.com

    2 articles · August 26, 2026

    Unpatched Zimbra servers are falling to CVE-2026-73570 attacks
  4. scworld.com

    1 article · August 24, 2026

    CISA adds Zimbra Collaboration Suite bug to exploited vulnerabilities list
  5. securityaffairs.com

    3 articles · August 26, 2026

    Poland’s CERT Warns of Active Exploitation of Critical Zimbra Collaboration Suite Flaw
  6. securityweek.com

    2 articles · August 25, 2026

    Hackers Target Zimbra Servers in Active Exploitation Campaign
  7. thehackernews.com

    4 articles · August 27, 2026

    Attackers Exploit Zimbra SNMP Flaw for Unauthenticated Remote Code Execution

Topics and entities

Topics