{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-30781","published":"2022-05-16T04:15:13.343000Z","last_modified":"2026-06-17T04:44:17.033000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-116"],"cpes":[{"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","part":"a","vendor":"gitea","product":"gitea","version_end_excluding":"1.16.7"}],"cpes_truncated":false,"vendors":["gitea"],"products":["gitea/gitea"],"epss":{"score":0.58535,"percentile":0.99326,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p5f9-c9j9-g8qx","ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"introduced":"0","fixed":"1.16.7"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-0450","ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"introduced":"0","fixed":"1.16.7"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":66,"links":{"html_es":"/es/cve/CVE-2022-30781/","html_en":"/en/cve/CVE-2022-30781/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-30781","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-30781"},"untrusted":{"vendor_name":"Gitea","product_name":"Gitea","desc_en":"Gitea before 1.16.7 does not escape git fetch remote.","affected":[],"references":[{"url":"http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/19487","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/19490","tags":["Patch","Third Party Advisory"]}]}}