{"id":"CVE-2022-30781","aliases":["BIT-gitea-2022-30781","GHSA-p5f9-c9j9-g8qx","GO-2022-0450"],"url":"https://o3.security/vulnerability/CVE-2022-30781","summary":"Shell command injection in gitea","details":"Gitea before 1.16.7 does not escape git fetch remote.","published":"2022-05-16T00:00:00Z","modified":"2026-08-08T03:47:31.807461813Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":6,"affectedPackages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","fixedVersion":"1.16.7"}],"fix":{"url":"https://github.com/go-gitea/gitea/pull/19487","label":"go-gitea/gitea#19487"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30781.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30781"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/19487"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/19490"},{"type":"ARTICLE","url":"https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:47:31.807461813Z"}}