Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/60xxx/CVE-2026-60004.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.17"
},
{
"fixed": "1.27.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*",
"range": [
{
"introduced": "1.17.0"
},
{
"fixed": "1.27.1"
}
],
"source": "CPE_RANGE"
}
]
}