{"cve":"CVE-2022-30781","nvd":{"published":"2022-05-16T04:15:13.343","modified":"2026-06-17T04:44:17.033","status":"Modified","description":"Gitea before 1.16.7 does not escape git fetch remote.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-116"],"references":["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"],"products":["gitea:gitea"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-30781","score":0.8793,"percentile":0.99763,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p5f9-c9j9-g8qx","url":"https://osv.dev/vulnerability/GHSA-p5f9-c9j9-g8qx","summary":"Shell command injection in gitea","modified":"2024-08-21T15:26:58.146441Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.16.7"],"fixed":["1.16.7"]}]},{"id":"GO-2022-0450","url":"https://osv.dev/vulnerability/GO-2022-0450","summary":"Shell command injection in gitea in code.gitea.io/gitea","modified":"2026-03-03T04:50:23.949796Z","packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.16.7"],"fixed":["1.16.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}