cybersecurity Request an audit

Actively exploited vulnerability / CVE-2026-60004

Gitea: an attacker can take over the server where you keep your source code

This vulnerability lets an attacker who has write access to a code repository run their own commands on the Gitea server. That means they could read or change your company's source code, steal access credentials and use the server as a starting point for further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).

Identifier
CVE-2026-60004 · EUVD-2026-66708
Severity
Critical (9.8/10)
On the CISA list (US)
yes, since 25 August 2026
Deadline given to US federal agencies
28 August 2026
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
24.0% (FIRST's estimate for the next 30 days)

Does it concern you?

Gitea is a platform companies install on their own servers to store and manage the source code of their applications. It is typically used by in-house development teams or companies that build software.

Versions from 1.17.0 up to but not including 1.27.1 are affected. The version is usually shown at the bottom of the Gitea web page or in the admin panel; if you are unsure, ask whoever runs the server.

Affected products and versions

  • Gitea
  • gitea: from 1.17.0 before 1.27.1

What to do

Update Gitea to version 1.27.1 or later. Until then, limit who has write access to repositories and follow the vendor's guidance.

Versions that contain the fix: 1.27.1.

The official description

The text below is the description from the public database.

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

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.