Skip to main content
Mallory
← Back to News
actively-exploited-vulnerabilitygovernment-vulnerability-catalogwidely-deployed-product-advisoryinternet-facing-service-vulnerability

Actively Exploited Gitea Code Injection Enables Service-Account Command Execution

Active Exploitation · 21 sources · Updated 3mo ago · First seen Aug 25, 2026

Actively Exploited Gitea Code Injection Enables Service-Account Command Execution

CISA added CVE-2026-60004 to its Known Exploited Vulnerabilities catalog after confirming exploitation of a code-injection flaw in the Gitea self-hosted development platform. An attacker with repository write access can send a malicious patch to the diffpatch API, install an executable Git hook, and run shell commands under the Gitea service account. Gitea addressed the vulnerability in version 1.27.1; CISA set an August 28 remediation deadline for U.S. federal agencies and advised affected organizations to apply vendor mitigations, assess internet exposure, and conduct relevant forensic triage. The responsible threat actors and their objectives remain unknown.

CISA's preceding catalog update also added CVE-2026-21962, an improper access-control vulnerability in Oracle HTTP Server and the Oracle WebLogic Server Proxy Plug-in. The Oracle flaw can permit unauthorized creation, deletion, modification, or access to critical data, potentially extending to all accessible product data. Organizations should prioritize patching or applying vendor mitigations for both KEV-listed vulnerabilities, and discontinue affected products where mitigations are unavailable.

Why it matters

Impact assessment

CVE-2026-60004 presents immediate high-severity risk to organizations running self-hosted Gitea: it is actively exploited, has public exploit tooling, and affects Gitea 1.17 through 1.27.0. Internet-exposed instances with default self-registration are broadly exposed because an external attacker can create an account and repository to obtain the required write access.

  • Affected environments: self-hosted Gitea used for source control, code review, CI/CD, package workflows, and deployment automation.
  • Business impact: execution as the Gitea service account can expose source code, application configuration, database credentials, OAuth tokens, CI/CD and deployment credentials, and integration secrets. Attackers can tamper with repositories and pipelines, creating a material software supply-chain risk.
  • Observed exploitation: CISA added CVE-2026-60004 to the KEV Catalog on 2026-08-25. Reported incidents deployed cryptocurrency-mining-like payloads, causing sustained CPU utilization above 70% in one case.
  • Scope: Shadowserver identified 8,393 vulnerable internet-exposed Gitea IP addresses on 2026-08-27. Threat actor identity, campaign scope, and objectives are not publicly attributed.
  • Containment considerations: a non-privileged Gitea Docker container limited host impact in one reported incident, but unrestricted container egress enabled payload download. Containerization does not prevent theft or abuse of secrets reachable by the Gitea process.
  • Secondary KEV exposure: CVE-2026-21962 affects Oracle HTTP Server and the Oracle WebLogic Server Proxy Plug-in. CISA states exploitation can allow unauthorized creation, deletion, modification, or access to critical data, including all accessible product data.

Structured facts

  • Entities: Gitea; CISA KEV Catalog; Shadowserver; Oracle HTTP Server; Oracle WebLogic Server Proxy Plug-in.
  • Known exploited vulnerabilities: CVE-2026-60004; CVE-2026-21962.
  • Malware: cryptocurrency-mining-like dropper/payload reported; no malware family, wallet, mining pool, or operator was confirmed.
  • Exposure amplifiers: public Gitea access, open registration, no email confirmation, OpenID signup, unrestricted outbound container access, and excessive privileges or accessible secrets for the Gitea service account.
This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · Jul 2026 – Aug 27, 2026
  1. Aug 27, 20263mo ago

    Shadowserver identifies 8,393 vulnerable Internet-exposed Gitea servers

    Shadowserver reported that 8,393 Internet-exposed Gitea IP addresses remained vulnerable to CVE-2026-60004. It also stated that exploitation attacks against the flaw were ongoing.

    Over 8,300 Gitea servers vulnerable to code execution attacks
  2. Reported Aug 26, 20263mo ago

    Gitea exploit reportedly deploys miner-like dropper

    Developer Andrey (@Causelof) reported that an unknown actor exploited CVE-2026-60004 against their HTTPS-exposed Gitea instance, deploying a miner-like dropper and causing sustained CPU utilization above 70%. The next-stage payload, mining pool, wallet, and operator were not identified.

    Critical Gitea RCE Actively Exploited as Reported Attack Drops Miner-Like Payload
  3. Aug 25, 20263mo ago

    CISA adds exploited Gitea CVE-2026-60004 to KEV Catalog

    CISA added CVE-2026-60004 to the KEV Catalog, identifying known exploitation of the Gitea code-injection vulnerability. The flaw requires repository write access and can be exploited through the diffpatch API to install an executable Git hook and run shell commands under the Gitea service account.

    Add Updated KEV Files for 2026-08-25 · cisagov/kev-data@b9e0849 · GitHub
  4. Aug 24, 20263mo ago

    CISA adds Oracle CVE-2026-21962 to KEV Catalog

    CISA added CVE-2026-21962, an improper access control flaw affecting Oracle HTTP Server and Oracle WebLogic Server Proxy Plug-in, to its Known Exploited Vulnerabilities Catalog. The flaw can enable unauthorized access to or modification of critical data, including complete access to accessible product data.

    Add Updated KEV Files for 2026-08-24 · cisagov/kev-data@7ed5152 · GitHub
  5. Aug 10, 20264mo ago

    Independent researchers publish working exploit for Gitea CVE-2026-60004

    Independent security researchers published a working exploit tool for CVE-2026-60004. The tool operationalized exploitation of the Gitea diffpatch code-injection flaw to execute commands as the Gitea service account.

    Remote Code Execution in Gitea (CVE-2026-60004)
  6. Reported Jul 30, 20264mo ago

    Public proof of concept released for Gitea CVE-2026-60004

    A public proof of concept described exploitation of Gitea's diffpatch API by using a crafted patch to place a malicious Git hook in a temporary repository. Later Git operations can execute the hook as the Gitea service account, requiring an authenticated account with repository write access.

    GitHub - 0xBlackash/CVE-2026-60004: CVE-2026-60004 · GitHub
  7. Jul 28, 20264mo ago

    Gitea issues formal advisory for CVE-2026-60004

    Gitea issued its formal security advisory for CVE-2026-60004, following the release of version 1.27.1 that fixed the critical diffpatch remote code-execution flaw.

    CVE-2026-60004: Critical Gitea RCE Exploited to Deploy Miner-Like Payloads | SOC Prime
  8. Jul 2026

    Gitea patches CVE-2026-60004 in version 1.27.1

    Gitea released version 1.27.1, patching CVE-2026-60004, a vulnerability that can let a repository writer install a malicious Git hook and execute commands as the Gitea service account.

    CISA Warns of Exploited Gitea Vulnerability - SecurityWeek
  9. Jul 2026

    Gitea CVE-2026-20896 exploitation warning issued

    Organizations were warned that the separate Gitea vulnerability CVE-2026-20896 was being exploited in the wild. It had not been added to CISA's KEV Catalog at the time of the report.

    CISA Warns of Exploited Gitea Vulnerability - SecurityWeek
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.