{
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Gitea",
                    "vendor": "Gitea",
                    "versions": [
                        {
                            "lessThan": "1.27.1",
                            "status": "affected",
                            "version": "1.17",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "1.17",
                                    "versionEndExcluding": "1.27.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-94",
                            "description": "CWE-94 Improper Control of Generation of Code ('Code Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2026-08-26T22:56:00.000Z",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "url": "https://blog.gitea.com/release-of-1.27.1/"
                },
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-rcr6-4jqh-j84m"
                },
                {
                    "url": "https://www.runzero.com/blog/gitea/"
                },
                {
                    "url": "https://github.com/0xBlackash/CVE-2026-60004"
                }
            ],
            "x_generator": {
                "engine": "Record Generation 0.0.1"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004",
                        "tags": [
                            "government-resource"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-26T20:21:46.783249Z",
                                "id": "CVE-2026-60004",
                                "options": [
                                    {
                                        "Exploitation": "active"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    },
                    {
                        "other": {
                            "type": "kev",
                            "content": {
                                "dateAdded": "2026-08-25",
                                "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60004"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-08T18:03:21.873Z"
                }
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "datePublished": "2026-08-26T19:45:00.000Z",
        "dateReserved": "2026-07-08T09:19:08.764Z",
        "dateUpdated": "2026-09-08T18:03:21.873Z",
        "cveId": "CVE-2026-60004",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2"
}