CVE-2026-60004

Remote Code Execution via Diffpatch API in Gitea

Published Aug 26, 2026 CVSS 3.1 · 9.8 Critical EPSS 24.0% KEV · Listed
Description
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rcr6-4jqh-j84m Gitea: Remote Code Execution via diffpatch Git Hook Installation
History
Type Values Removed Values Added
Title Remote Code Execution via Diffpatch API in Gitea
Type Values Removed Values Added
Title Remote Code Execution via Diffpatch API in Gitea
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title Remote Code Execution via Diffpatch API in Gitea
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

kev

{'dateAdded': '2026-08-25T00:00:00+00:00', 'dueDate': '2026-08-28T00:00:00+00:00'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 8, 2026, 6:03 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Analyzed
Published
Aug 26, 2026, 8:17 PM
Modified
Aug 27, 2026, 11:41 AM