Actively Exploited Gitea Code Injection Enables Service-Account Command Execution
Active Exploitation · 21 sources · Updated 3mo ago · First seen Aug 25, 2026

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.


