SicherheitslageDEEN

CVE-2026-60004

Gitea Code Injection Vulnerability

Patch priority

Patch now

Already actively exploited according to CISA.

CVSS
9.8
Severity
9.8
EPSS
99 %
Percentile
100
Actively exploited
yes (CISA KEV)

The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary

What do I need to do?

in plain words

Who is affected?

Only those who run gitea gitea. The vendor name tells you whether the product is in use at your place.

How dangerous is it?

What to do?

  1. Update immediately – do not wait for the next maintenance window.
  2. The vendor’s advisories (linked below) name the fixed version.
  3. If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
  4. Because the flaw is already exploited: after updating, check for unusual logins, new users or unknown files.

Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained

Description

NVD

Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.

Vendor / product
gitea gitea
Published
26.08.2026
Modified
27.08.2026
CWE
CWE-94
Status
Analyzed

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor reference

Actively exploited (CISA KEV)

Gitea contains a code injection vulnerability that allows an attacker with repository write access to send a malicious patch to the diffpatch API endpoint to plant an executable Git hook and run shell commands as the Gitea service account.

Action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Added: 25.08.2026 · Deadline (US agencies): 28.08.2026

Vendor updates

2

Warnings and reports

1

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.