{
    "id": "CVE-2022-30781",
    "published": "2022-05-16 04:15:13",
    "last_modified": "2026-06-17 04:44:17",
    "cvss_score": "7.5",
    "cvss_severity": "HIGH",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
    "cwe": "CWE-116",
    "description": "Gitea before 1.16.7 does not escape git fetch remote.",
    "epss_score": "0.87930",
    "epss_percentile": "0.99761",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:29:30",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "gitea",
            "product": "gitea"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "51009",
            "title": "Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)",
            "date": "2022-09-15",
            "url": "https://www.exploit-db.com/exploits/51009"
        }
    ],
    "refs_list": [
        "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html",
        "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html",
        "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
        "https://github.com/go-gitea/gitea/pull/19487",
        "https://github.com/go-gitea/gitea/pull/19490",
        "http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html",
        "http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html",
        "https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/",
        "https://github.com/go-gitea/gitea/pull/19487",
        "https://github.com/go-gitea/gitea/pull/19490"
    ]
}