Security mailing lists by PureSourceCode

CVE-2026-60004

CRITICAL 9.8CVSS 3.1known exploited

Gitea: Remote Code Execution via diffpatch Git Hook Installation

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

Published
26 Aug 2026
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-94
Also known as
BIT-gitea-2026-60004GHSA-rcr6-4jqh-j84mGO-2026-6433
Sources
NVDJSONCISA KEVJSONOSV GHSA-rcr6-4jqh-j84mJSONOSV GO-2026-6433JSON
In CISA's Known Exploited Vulnerabilities catalog since 25 Aug 2026; US federal agencies must fix it by 28 Aug 2026.
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.

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitea gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
>= 1.17.0, < 1.27.1 1.27.1
OSV Go gitea.dev >= 1.17.0, < 1.27.1 1.27.1
OSV Go code.gitea.io/gitea >= 1.17.0
OSV Go gitea.dev < 1.27.1 1.27.1

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 26 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Sep 2026)
  • 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 25 Aug 2026)
  • 25 Aug 2026 00:00 UTC · Listed as known exploited
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.